From 5cfdaf5ffef7b3ae9a35ef47ad390e561bc31052 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 6 Feb 2023 21:55:36 +0100 Subject: [PATCH] Removed code no longer needed. --- avr/att84_temp1.asm | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/avr/att84_temp1.asm b/avr/att84_temp1.asm index 9e195fb..562bc69 100644 --- a/avr/att84_temp1.asm +++ b/avr/att84_temp1.asm @@ -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