add iaq10 sensor support Nuttx

This commit is contained in:
wgzAIIT
2022-01-05 15:40:01 +08:00
parent 711bd5bd15
commit 1f252e418f
10 changed files with 68 additions and 3 deletions
@@ -52,6 +52,21 @@
extern int FrameworkInit(void);
/****************************************************************************
* Name: cmd_Iaq10
****************************************************************************/
#if defined(CONFIG_APPLICATION_SENSOR_IAQ) && !defined(CONFIG_NSH_DISABLE_TB600B_IAQ10)
extern void IaqTb600bIaq10(void);
int cmd_Iaq10(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
printf("Hello, world!\n");
FrameworkInit();
IaqTb600bIaq10();
return 0;
}
#endif
/****************************************************************************
* Name: cmd_Co2Zg09
****************************************************************************/