include CCS811 in reportsensors app.

This commit is contained in:
Martin Preuss
2025-06-05 22:46:55 +02:00
parent cef487fb3a
commit b9ac7c65fa

View File

@@ -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