mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-22 00:03:02 +08:00
[Sensor] Add AMS sensor vendor info
This commit is contained in:
@@ -335,6 +335,9 @@ static void sensor(int argc, char **argv)
|
||||
case RT_SENSOR_VENDOR_PLANTOWER:
|
||||
rt_kprintf("vendor :Plantower\n");
|
||||
break;
|
||||
case RT_SENSOR_VENDOR_AMS:
|
||||
rt_kprintf("vendor :AMS\n");
|
||||
break;
|
||||
}
|
||||
rt_kprintf("model :%s\n", info.model);
|
||||
switch (info.unit)
|
||||
|
Reference in New Issue
Block a user