[Sensor] Dust and eCO2 data should be defined unsigned

This commit is contained in:
luhuadong 2020-02-17 23:26:54 +08:00
parent da8e829fa8
commit c734a7b3fa
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ struct rt_sensor_data
rt_int32_t noise; /* Noise Loudness. unit: HZ */
rt_uint32_t step; /* Step sensor. unit: 1 */
rt_int32_t force; /* Force sensor. unit: mN */
rt_int32_t dust; /* Dust sensor. unit: ug/m3 */
rt_int32_t eco2; /* eCO2 sensor. unit: ppm */
rt_uint32_t dust; /* Dust sensor. unit: ug/m3 */
rt_uint32_t eco2; /* eCO2 sensor. unit: ppm */
} data;
};