use in instead of inr (SREG is always inside normal io space).

This commit is contained in:
Martin Preuss
2025-07-12 20:08:54 +02:00
parent a06d245345
commit 349b4a929a

View File

@@ -213,7 +213,7 @@ comOnUart1ModeJumpTable:
comOnUart1RunIdle:
push r15
inr r15, SREG
in r15, SREG
cli
; look for outbound message
rcall NET_Interface_PeekNextOutgoingMsgNum ; r16=msgNum
@@ -244,7 +244,7 @@ comOnUart1RunIdle_haveMsg:
brcc comOnUart1RunIdle_end
push r15
inr r15, SREG
in r15, SREG
cli
rcall NET_Interface_GetNextOutgoingMsgNum ; take current msg off the queue
rcall NET_Buffer_ReleaseByNum ; (R16, X)