mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c (#5966)
* Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c print vendor information of Melexis in the function sensor()
This commit is contained in:
parent
3ecfe9c61e
commit
50a42331e6
@ -360,6 +360,9 @@ static void sensor(int argc, char **argv)
|
||||
case RT_SENSOR_VENDOR_MAXIM:
|
||||
rt_kprintf("vendor :Maxim Integrated\n");
|
||||
break;
|
||||
case RT_SENSOR_VENDOR_MELEXIS:
|
||||
rt_kprintf("vendor :Melexis\n");
|
||||
break;
|
||||
}
|
||||
rt_kprintf("model :%s\n", info.model);
|
||||
switch (info.unit)
|
||||
|
Loading…
x
Reference in New Issue
Block a user