add sensor 'TB600B_IAQ10' to sensor framework

This commit is contained in:
Wang_Weigen
2021-12-15 11:10:56 +08:00
parent 4a8ac7c02b
commit 856edb7ec6
11 changed files with 363 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ extern int Hs300xHumidityInit(void);
extern int Ps5308Pm1_0Init(void);
extern int Zg09Co2Init(void);
extern int As830Ch4Init(void);
extern int Tb600bIaq10IaqInit(void);
typedef int (*InitFunc)(void);
struct InitDesc
@@ -94,6 +95,10 @@ static struct InitDesc sensor_desc[] =
{ "ch4_as830", As830Ch4Init },
#endif
#ifdef SENSOR_TB600B_IAQ10
{ "iaq_tb600b_iaq10", Tb600bIaq10IaqInit },
#endif
{ "NULL", NULL },
};