Removed code no longer needed.

This commit is contained in:
Martin Preuss
2023-02-06 21:55:36 +01:00
parent 4d4bdf3203
commit 5cfdaf5ffe

View File

@@ -327,18 +327,13 @@ onEvery10s:
onEvery30s:
#ifdef MODULES_SI7021
rcall SI7021_PeriodicMeasurement
rcall Main_SendValueMsg
lds r16, comAddress
tst r16
brne onEvery30s_l1
lds r16, cproMode
cpi r16, CPRO_MODE_NORMAL
brne onEvery30s_l1
rcall CPRO_StartGetAddrProcedure
onEvery30s_l1:
in r15, SREG
push r15
cli
rcall SI7021_PeriodicMeasurement
rcall Main_SendValueMsg
pop r15
out SREG, r15
#endif
ret