summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorguo <[email protected]>2022-04-07 15:46:38 +0800
committerGitHub <[email protected]>2022-04-07 15:46:38 +0800
commit4b06115951c55b77212bc4d4e9576486193281ed (patch)
treee7566f2d513f630b95e1540fd873dc408282dff5 /components
parentc318dfa964c8967325b945fe851e9554fdae0638 (diff)
[finsh]fix list_device crash. (#5780)
Diffstat (limited to 'components')
-rw-r--r--components/finsh/cmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c
index 6e86d9214a..aa48faea87 100644
--- a/components/finsh/cmd.c
+++ b/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"
};