include CCS811 in reportsensors app.
This commit is contained in:
@@ -107,6 +107,13 @@ AppReportSensors_OnEverySecond_store:
|
||||
breq AppReportSensors_OnEverySecond_sendValue3
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_CCS811
|
||||
cpi r16, 31
|
||||
breq AppReportSensors_OnEverySecond_sendCCS811_TVOC
|
||||
cpi r16, 35
|
||||
breq AppReportSensors_OnEverySecond_sendCCS811_CO2
|
||||
#endif
|
||||
|
||||
ret
|
||||
|
||||
#ifdef MODULES_SI7021
|
||||
@@ -142,6 +149,13 @@ AppReportSensors_OnEverySecond_sendValue3:
|
||||
rjmp SGP30_SendCO2
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_CCS811
|
||||
AppReportSensors_OnEverySecond_sendCCS811_TVOC:
|
||||
rjmp CCS811_SendTVOC
|
||||
AppReportSensors_OnEverySecond_sendCCS811_CO2:
|
||||
rjmp CCS811_SendCO2
|
||||
#endif
|
||||
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user