Merge pull request #3393 from luhuadong/develop
[Sensor] Modified vendor name and add two prefix corresponding to sensor types
This commit is contained in:
commit
4bec714516
@ -31,7 +31,9 @@ static char *const sensor_name_str[] =
|
||||
"tvoc_", /* TVOC Level */
|
||||
"noi_", /* Noise Loudness */
|
||||
"step_", /* Step sensor */
|
||||
"forc_" /* Force sensor */
|
||||
"forc_", /* Force sensor */
|
||||
"dust_", /* Dust sensor */
|
||||
"eco2_" /* eCO2 sensor */
|
||||
};
|
||||
|
||||
/* Sensor interrupt correlation function */
|
||||
|
@ -58,7 +58,7 @@ extern "C" {
|
||||
#define RT_SENSOR_VENDOR_GOERTEK (5) /* Goertek */
|
||||
#define RT_SENSOR_VENDOR_MIRAMEMS (6) /* MiraMEMS */
|
||||
#define RT_SENSOR_VENDOR_DALLAS (7) /* Dallas */
|
||||
#define RT_SENSOR_VENDOR_AOSONG (8) /* Aosong */
|
||||
#define RT_SENSOR_VENDOR_ASAIR (8) /* Aosong */
|
||||
#define RT_SENSOR_VENDOR_SHARP (9) /* Sharp */
|
||||
#define RT_SENSOR_VENDOR_SENSIRION (10) /* Sensirion */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user