diff options
| author | tyustli <[email protected]> | 2019-08-16 11:56:26 +0800 |
|---|---|---|
| committer | tyustli <[email protected]> | 2019-08-16 12:14:30 +0800 |
| commit | c81eebcd5d8a36e69afbe94319abaa8a04fca3f8 (patch) | |
| tree | 7a74d1f2678f6b7a0e729e1c1dbeac60e8cce72d /components/finsh/cmd.c | |
| parent | 3b252d5b9721bb7cc649dad832507937efc1e96c (diff) | |
[bsp] [stm32] fix drv_can.c
Diffstat (limited to 'components/finsh/cmd.c')
| -rw-r--r-- | components/finsh/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 608e962f6c..570f525bca 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -847,7 +847,7 @@ long list_device(void) device->parent.name, (device->type <= RT_Device_Class_Unknown) ? device_type_str[device->type] : - device_type_str[RT_Device_Class_Unknown], + device_type_str[RT_Device_Class_Unknown - 1], device->ref_count); } |
