fixed a bug.
This commit is contained in:
@@ -53,11 +53,12 @@ AppReportSensors_Fini:
|
|||||||
;
|
;
|
||||||
|
|
||||||
AppReportSensors_OnEverySecond:
|
AppReportSensors_OnEverySecond:
|
||||||
in r15, SREG
|
|
||||||
push r15
|
push r15
|
||||||
|
in r15, SREG
|
||||||
cli
|
cli
|
||||||
rcall AppReportSensors_OnEverySecond_noIrqs
|
rcall AppReportSensors_OnEverySecond_noIrqs
|
||||||
out SREG, r15
|
out SREG, r15
|
||||||
|
pop r15
|
||||||
ret
|
ret
|
||||||
AppReportSensors_OnEverySecond_noIrqs:
|
AppReportSensors_OnEverySecond_noIrqs:
|
||||||
lds r16, reportSensorTimer
|
lds r16, reportSensorTimer
|
||||||
|
|||||||
Reference in New Issue
Block a user