From 4b06115951c55b77212bc4d4e9576486193281ed Mon Sep 17 00:00:00 2001 From: guo Date: Thu, 7 Apr 2022 15:46:38 +0800 Subject: [PATCH] [finsh]fix list_device crash. (#5780) --- components/finsh/cmd.c | 6 ++++++ 1 file changed, 6 insertions(+) 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" };