From 5316c4e84adbe68571970f988b4e03e94dd3fac8 Mon Sep 17 00:00:00 2001 From: corvus-ossifragus <77814520+corvus-ossifragus@users.noreply.github.com> Date: Fri, 7 May 2021 16:35:22 -0400 Subject: [PATCH] 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. --- examples/host/cdc_msc_hid/src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c index bbaac864..d941c56f 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");