Browse Source

[finsh]fix list_device crash. (#5780)

guo 3 years ago
parent
commit
4b06115951
1 changed files with 6 additions and 0 deletions
  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"
 };