add 'TB600B_WQ_HCHO1OS' sensor of hcho to sensor framework

This commit is contained in:
Wang_Weigen
2021-12-15 16:28:51 +08:00
parent 19edea21d7
commit db225df433
11 changed files with 343 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ extern "C" {
#define SENSOR_ABILITY_CH4 ((uint32_t)(1 << SENSOR_QUANTITY_CH4))
#define SENSOR_ABILITY_IAQ ((uint32_t)(1 << SENSOR_QUANTITY_IAQ))
#define SENSOR_ABILITY_TVOC ((uint32_t)(1 << SENSOR_QUANTITY_TVOC))
#define SENSOR_ABILITY_HCHO ((uint32_t)(1 << SENSOR_QUANTITY_HCHO))
struct SensorProductInfo {
uint32_t ability; /* Bitwise OR of sensor ability */