[finsh]fix list_device crash. (#5780)

This commit is contained in:
guo 2022-04-07 15:46:38 +08:00 committed by GitHub
parent c318dfa964
commit 4b06115951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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"
};