diff options
| author | corvus-ossifragus <[email protected]> | 2021-05-07 16:35:22 -0400 |
|---|---|---|
| committer | corvus-ossifragus <[email protected]> | 2021-05-07 16:35:22 -0400 |
| commit | 5316c4e84adbe68571970f988b4e03e94dd3fac8 (patch) | |
| tree | cd8c0b0d26cffb4be2adde2d5b7fe155e44c0b58 /examples | |
| parent | ee00918b7c0f88bdf4fb7f9f48765c2ee7758891 (diff) | |
Update main.c
Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c index bbaac8644..d941c56f3 100644 --- a/examples/host/cdc_msc_hid/src/main.c +++ b/examples/host/cdc_msc_hid/src/main.c @@ -310,6 +310,10 @@ void print_greeting(void) { [OPT_OS_NONE] = "None", [OPT_OS_FREERTOS] = "FreeRTOS", + [OPT_OS_MYNEWT] = "Mynewt OS", + [OPT_OS_CUSTOM] = "Custom OS implemnted by application", + [OPT_OS_PICO] = "Raspberry Pi Pico SDK", + [OPT_OS_RTTHREAD] = "RT-Thread" }; printf("--------------------------------------------------------------------\r\n"); |
