File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
components/drivers/sensors Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ extern "C" {
6161#define RT_SENSOR_VENDOR_ASAIR (8) /* Aosong */
6262#define RT_SENSOR_VENDOR_SHARP (9) /* Sharp */
6363#define RT_SENSOR_VENDOR_SENSIRION (10) /* Sensirion */
64- #define RT_SENSOR_VENDOR_TI (11) /* Texas Instruments*/
64+ #define RT_SENSOR_VENDOR_TI (11) /* Texas Instruments */
65+ #define RT_SENSOR_VENDOR_PLANTOWER (12) /* Plantower */
6566
6667
6768/* Sensor unit types */
Original file line number Diff line number Diff line change @@ -329,6 +329,12 @@ static void sensor(int argc, char **argv)
329329 case RT_SENSOR_VENDOR_SENSIRION :
330330 rt_kprintf ("vendor :Sensirion\n" );
331331 break ;
332+ case RT_SENSOR_VENDOR_TI :
333+ rt_kprintf ("vendor :Texas Instruments\n" );
334+ break ;
335+ case RT_SENSOR_VENDOR_PLANTOWER :
336+ rt_kprintf ("vendor :Plantower\n" );
337+ break ;
332338 }
333339 rt_kprintf ("model :%s\n" , info .model );
334340 switch (info .unit )
You can’t perform that action at this time.
0 commit comments