avr: fixed calls for 64K ATmega.
This commit is contained in:
@@ -22,7 +22,7 @@ NET_Interface_Init:
|
||||
mov xh, yh
|
||||
ldi r17, NET_IFACE_SIZE
|
||||
clr r16
|
||||
rcall Utils_FillSram ; (R17, X)
|
||||
bigcall Utils_FillSram ; (R17, X)
|
||||
|
||||
push yl
|
||||
push yh
|
||||
@@ -243,7 +243,7 @@ NET_Interface_ResetStats:
|
||||
adiw xh:xl, NET_IFACE_OFFS_PACKETSIN_LOW
|
||||
ldi r17, ((NET_IFACE_OFFS_ERR_MISSED_HIGH+1)-NET_IFACE_OFFS_PACKETSIN_LOW)
|
||||
clr r16
|
||||
rcall Utils_FillSram ; (R17, X)
|
||||
bigcall Utils_FillSram ; (R17, X)
|
||||
out SREG, r15
|
||||
pop r15
|
||||
ret
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
NETMSG_Common_AddUidToBuffer:
|
||||
push xh
|
||||
push xl
|
||||
rcall Utils_ReadUid ; (R16, X)
|
||||
bigcall Utils_ReadUid ; (R16, X)
|
||||
pop xl
|
||||
pop xh
|
||||
st X+, r18
|
||||
@@ -68,7 +68,7 @@ NETMSG_AddNextMsgIdToBuffer:
|
||||
NETMSG_CheckUidInMsg:
|
||||
push xl
|
||||
push xh
|
||||
rcall Utils_ReadUid
|
||||
bigcall Utils_ReadUid
|
||||
pop xh
|
||||
pop xl
|
||||
ld r16, X+
|
||||
|
||||
Reference in New Issue
Block a user