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

View File

@@ -32,6 +32,7 @@ extern int Zg09Co2Init(void);
extern int As830Ch4Init(void);
extern int Tb600bIaq10IaqInit(void);
extern int Tb600bTvoc10TvocInit(void);
extern int Tb600bWqHcho1osInit(void);
typedef int (*InitFunc)(void);
struct InitDesc
@@ -104,6 +105,10 @@ static struct InitDesc sensor_desc[] =
{ "tvoc_tb600b_tvoc10", Tb600bTvoc10TvocInit },
#endif
#ifdef SENSOR_TB600B_WQ_HCHO1OS
{ "tvoc_tb600b_wq_hcho1os", Tb600bWqHcho1osInit },
#endif
{ "NULL", NULL },
};