瀏覽代碼

[finsh]fix list_device crash. (#5780)

guo 3 年之前
父節點
當前提交
4b06115951
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      components/finsh/cmd.c

+ 6 - 0
components/finsh/cmd.c

@@ -819,6 +819,12 @@ static char *const device_type_str[] =
     "Touch Device",
     "Phy Device",
     "Security Device",
+    "WLAN Device",
+    "Pin Device",
+    "ADC Device",
+    "DAC Device",
+    "WDT Device",
+    "PWM Device",
     "Unknown"
 };