diff options
| author | hathach <[email protected]> | 2023-08-14 22:01:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-14 22:01:30 +0700 |
| commit | f2f005cbdf33dd0e10617535bcf7c0b24d6762b0 (patch) | |
| tree | 45913f14b003cc8583b8bcc230437690ef57cac6 /examples/host/cdc_msc_hid/src | |
| parent | 088180e3d86cc51472dcd06ae42c613b534bf71c (diff) | |
fix build iar with lpc43
Diffstat (limited to 'examples/host/cdc_msc_hid/src')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/hid_app.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid/src/hid_app.c b/examples/host/cdc_msc_hid/src/hid_app.c index 7727ee62c..f0d42a08f 100644 --- a/examples/host/cdc_msc_hid/src/hid_app.c +++ b/examples/host/cdc_msc_hid/src/hid_app.c @@ -160,7 +160,9 @@ static void process_kbd_report(hid_keyboard_report_t const *report) putchar(ch); if ( ch == '\r' ) putchar('\n'); // added new line for enter key + #ifndef __ICCARM__ // TODO IAR doesn't support stream control ? fflush(stdout); // flush right away, else nanolib will wait for newline + #endif } } // TODO example skips key released |
