• Alessandro Rubini's avatar
    uart: fix return value and add puts with a standard prototype · 141752e4
    Alessandro Rubini authored
    We include newlib headers (and link part of newlib), so any
    locally-defined function must have the same prototype as standard
    ones. We'll soon nee a "puts" implementation for pp_printf, so this
    adds puts as an alias of uart_write_string (at no size cost) and makes
    uart_write_string itself return integer (this costs a few bytes).
    
    While I'm at it, change uart_write_byte to be slightly faster.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    141752e4
Name
Last commit
Last update
..
dev.mk Loading commit data...
dna.c Loading commit data...
eeprom.c Loading commit data...
endpoint.c Loading commit data...
ep_pfilter.c Loading commit data...
i2c.c Loading commit data...
minic.c Loading commit data...
onewire.c Loading commit data...
pps_gen.c Loading commit data...
sdb.c Loading commit data...
sfp.c Loading commit data...
syscon.c Loading commit data...
timer.c Loading commit data...
uart.c Loading commit data...