From 68ef24ea9b825b127973737cc117caa9f8776cbd Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 5 Jan 2025 00:49:11 +0100 Subject: [PATCH] si7021: fixed a minor bug. --- avr/modules/si7021/main.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/avr/modules/si7021/main.asm b/avr/modules/si7021/main.asm index e6cd350..0ccc96e 100644 --- a/avr/modules/si7021/main.asm +++ b/avr/modules/si7021/main.asm @@ -285,6 +285,7 @@ si7021MeasureAny: pop r16 brcc si7021MeasureAny_error rcall twiSendByteExpectAck ; (R16, R17, R18, R22) + brcc si7021MeasureAny_error ; no ACK or other error ldi r16, 200 mov r14, r16