浏览代码

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.
corvus-ossifragus 4 年之前
父节点
当前提交
5316c4e84a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      examples/host/cdc_msc_hid/src/main.c

+ 4 - 0
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");