use in instead of inr (SREG is always inside normal io space).
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user