From a0a5840fc8add711601c5c29b196f1998c436289 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Tue, 11 Apr 2023 21:19:12 +0200 Subject: [PATCH] changed order of calls. --- avr/com.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/com.asm b/avr/com.asm index d5452bc..863ff64 100644 --- a/avr/com.asm +++ b/avr/com.asm @@ -118,12 +118,12 @@ comIsrPcint0: push xl push yh push yl + rcall comReceivePacketHandleBuffer ; (R1, R16, R17, R18, R19, R20, R21, R22, X, Y lds xl, comInterrupts lds xh, comInterrupts+1 adiw xh:xl, 1 sts comInterrupts, xl sts comInterrupts+1, xh - rcall comReceivePacketHandleBuffer ; (R1, R16, R17, R18, R19, R20, R21, R22, X, Y pop yl pop yh pop xl