From 2da873bbb998fb680d11b5dd2ef52eb35b6aca53 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 25 Aug 2024 14:18:56 +0200 Subject: [PATCH] avr: fixed comments. --- avr/modules/com2/lowlevel.asm | 4 ++-- avr/modules/com2/main.asm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avr/modules/com2/lowlevel.asm b/avr/modules/com2/lowlevel.asm index b79cd45..3a394c7 100644 --- a/avr/modules/com2/lowlevel.asm +++ b/avr/modules/com2/lowlevel.asm @@ -153,7 +153,7 @@ com2WaitForAttnHigh: ; --------------------------------------------------------------------------- ; com2WaitForDataState1ms ; -; Waits up to 100ms for high DATA line +; Waits up to 1ms for high DATA line ; IN: ; - R16: state to wait for (00 for low, 0xff for high) ; OUT: @@ -181,7 +181,7 @@ com2WaitForDataState1ms_stateReached: ; --------------------------------------------------------------------------- ; com2WaitForAttnState1ms ; -; Waits up to 100ms for high DATA line +; Waits up to 1ms for high DATA line ; IN: ; - R16: state to wait for (00 for low, 0xff for high) ; OUT: diff --git a/avr/modules/com2/main.asm b/avr/modules/com2/main.asm index 6605f2a..6fdaa72 100644 --- a/avr/modules/com2/main.asm +++ b/avr/modules/com2/main.asm @@ -214,7 +214,7 @@ COM2_BeginMsgWithVariablePayload: lds r16, timerModuleCounterSecs+3 st X+, r16 COM2_BeginMsgWithVariablePayload_l1: - lsr r3 ; shift out shift out COM2_PAYLOAD_FLAGS_UID + lsr r3 ; shift out COM2_PAYLOAD_FLAGS_UID brcc COM2_BeginMsgWithVariablePayload_l2 ; write uid push xh