diff options
| author | liuxianliang <[email protected]> | 2021-04-10 18:03:18 +0800 |
|---|---|---|
| committer | liuxianliang <[email protected]> | 2021-04-10 18:03:18 +0800 |
| commit | afe6dd9fe5eef463fdc968fa11c27e305ef1fb9a (patch) | |
| tree | 1b3609a686ff4f05e84d08b4c6ca666d1ece37f3 /components | |
| parent | 3db7a98a18e461236d418e0670de5d8905b11749 (diff) | |
| parent | 4dc6d002167edcb482b64be9d343de8a167cc3be (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/include/drivers/sensor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/drivers/include/drivers/sensor.h b/components/drivers/include/drivers/sensor.h index e05006f9f6..ede8d11c99 100644 --- a/components/drivers/include/drivers/sensor.h +++ b/components/drivers/include/drivers/sensor.h @@ -90,8 +90,6 @@ extern "C" { #define RT_SENSOR_UNIT_PPB (15) /* Concentration unit: ppb */ #define RT_SENSOR_UNIT_DMS (16) /* Coordinates unit: DMS */ #define RT_SENSOR_UNIT_DD (17) /* Coordinates unit: DD */ -#define RT_SENSOR_UNIT_PERCENT (18) /* Percentage unit: % */ - /* Sensor communication interface types */ #define RT_SENSOR_INTF_I2C (1 << 0) @@ -219,7 +217,7 @@ struct rt_sensor_data rt_int32_t force; /* Force sensor. unit: mN */ rt_uint32_t dust; /* Dust sensor. unit: ug/m3 */ rt_uint32_t eco2; /* eCO2 sensor. unit: ppm */ - rt_uint32_t spo2; /* SpO2 sensor. unit: % */ + rt_uint32_t spo2; /* SpO2 sensor. unit: permillage */ } data; }; |
