avr: daily clear more stats.
This commit is contained in:
@@ -241,7 +241,7 @@ NET_Interface_ResetStats:
|
||||
mov xl, yl
|
||||
mov xh, yh
|
||||
adiw xh:xl, NET_IFACE_OFFS_PACKETSIN_LOW
|
||||
ldi r17, ((NET_IFACE_OFFS_ERR_BUSY_HIGH+1)-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)
|
||||
out SREG, r15
|
||||
|
||||
Reference in New Issue
Block a user