From 892d9f5c5aff577eeda77dab25a6895e23d14c0d Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 1 Sep 2024 20:11:18 +0200 Subject: [PATCH] avr: fixed a possible problem (generated machine code is shorter). --- avr/modules/com2/lowlevel.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/modules/com2/lowlevel.asm b/avr/modules/com2/lowlevel.asm index f4e6031..926a24c 100644 --- a/avr/modules/com2/lowlevel.asm +++ b/avr/modules/com2/lowlevel.asm @@ -216,7 +216,7 @@ com2WaitForAttnState1ms_stateReached: ; REGS: r22 com2WaitFor10MicroSecs: - Utils_WaitNanoSecs 10000, 3+4, r22 ; wait for 10us (minus RCALL and RET) + Utils_WaitNanoSecs 10000, 7, r22 ; wait for 10us (minus RCALL and RET) ret