Update UART driver API (#14839)
* Add uart_puts() and uart_gets() * Add some docs * Rework API * Formatting * Update docs/uart_driver.md Co-authored-by: Sergey Vlasov <[email protected]> * Simplify a uart_write() loop * Update platforms/avr/drivers/uart.c Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Sergey Vlasov <[email protected]> Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
8 files changed
+72
-25
No files matched your search
@@ -27,7 +27,7 @@
|
||||
# undef sendchar
|
||||
static int8_t capture_sendchar(uint8_t c) {
|
||||
// sendchar(c);
|
||||
uart_putchar(c);
|
||||
uart_write(c);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user