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.
This commit is contained in:
corvus-ossifragus 2021-05-07 16:35:22 -04:00
parent ee00918b7c
commit 5316c4e84a
1 changed files with 4 additions and 0 deletions

View File

@ -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");