Explorar o código

[finsh] 添加 RT_Device_Class_Bus 对应的描述字符串

zhkag %!s(int64=2) %!d(string=hai) anos
pai
achega
7d8f485321
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      components/finsh/cmd.c

+ 1 - 0
components/finsh/cmd.c

@@ -832,6 +832,7 @@ static char *const device_type_str[RT_Device_Class_Unknown] =
     "DAC Device",
     "WDT Device",
     "PWM Device",
+    "Bus Device",
 };
 
 long list_device(void)