[finsh]fix list_device crash. (#5780)
This commit is contained in:
parent
c318dfa964
commit
4b06115951
|
@ -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"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue