未验证 提交 4bec7145 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3393 from luhuadong/develop

[Sensor] Modified vendor name and add two prefix corresponding to sensor types
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册