diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-12-16 20:31:06 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-12-16 20:31:06 +0100 |
| commit | 8e8c972cbec56d8de31847981149cde4a8fc16cd (patch) | |
| tree | 3f81fbb17a9e8338bf9b70f3e2059da50aebceca /src/usb_stdio.c | |
| parent | cbb0ac4dac395ea287cf5e7cc211f81aef16e78f (diff) | |
| download | sxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.tar.gz sxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.zip | |
Add stdio command interface, matrix syncing and basic evaluation
Diffstat (limited to 'src/usb_stdio.c')
| -rw-r--r-- | src/usb_stdio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usb_stdio.c b/src/usb_stdio.c index 90beefb..7550815 100644 --- a/src/usb_stdio.c +++ b/src/usb_stdio.c @@ -1,5 +1,6 @@ #include "usb_stdio.h" +#include "pico/stdio.h" #include "pico/stdio/driver.h" #include "tusb.h" @@ -24,6 +25,7 @@ void usb_stdio_flush(void) { tud_cdc_write_flush(); + tud_task(); } int @@ -36,5 +38,6 @@ void usb_stdio_init(void) { stdio_set_driver_enabled(&usb_stdio, true); + stdio_set_translate_crlf(&usb_stdio, true); stdio_init_all(); } |
