avr/reed: moved notification source to REED_Run.

This make the node send the new status almost immediately after change.
This commit is contained in:
Martin Preuss
2023-05-13 01:13:28 +02:00
parent efcab6f38d
commit 54301fed44
2 changed files with 3 additions and 3 deletions

View File

@@ -367,7 +367,7 @@ timerList:
.dw sramTimerCny70SendAdc, sendAdc, TIMER_FLAGS_IF_ADDR, 30 ; every 30s
#endif
#ifdef MODULES_REED
.dw sramTimerReedCheck, REED_Timer, TIMER_FLAGS_IF_ADDR, 1 ; every 1s
; .dw sramTimerReedCheck, REED_Timer, TIMER_FLAGS_IF_ADDR, 1 ; every 1s
#endif
.dw 0 ; end of list

View File

@@ -146,8 +146,8 @@ REED_Fini:
REED_Run:
clc ; debug
ret ; debug
; clc ; debug
; ret ; debug
push r15
in r15, SREG
cli