diff --git a/avr/apps/reportsensors/main.asm b/avr/apps/reportsensors/main.asm index 51b9a25..3f6dfb1 100644 --- a/avr/apps/reportsensors/main.asm +++ b/avr/apps/reportsensors/main.asm @@ -117,6 +117,16 @@ AppReportSensors_OnEverySecond_store: breq AppReportSensors_OnEverySecond_sendBrightness #endif +#ifdef APPS_DOOR + cpi r16, 100 + breq AppReportSensors_OnEverySecond_sendDoorValue +#endif + +#ifdef APPS_MOTION + cpi r16, 108 + breq AppReportSensors_OnEverySecond_sendMotionValue +#endif + ret #ifdef MODULES_SI7021 @@ -162,6 +172,16 @@ AppReportSensors_OnEverySecond_sendBrightness: rjmp Brightness_Send #endif +#ifdef APPS_DOOR +AppReportSensors_OnEverySecond_sendDoorValue: + rjmp appDoorSendValue +#endif + +#ifdef APPS_MOTION +AppReportSensors_OnEverySecond_sendMotionValue: + rjmp appMotionSendValue +#endif + ; @end