avr: fully implemented router functionality in network and router app.
This commit is contained in:
@@ -139,8 +139,19 @@ AppStats_OnEveryMinute_store:
|
||||
ret
|
||||
|
||||
AppStats_OnEveryMinute_sendDevice:
|
||||
rjmp AppNetwork_SendDevice
|
||||
|
||||
push yl
|
||||
push yh
|
||||
ldi yl, LOW(netInterfaceData)
|
||||
ldi yh, HIGH(netInterfaceData)
|
||||
rcall AppNetwork_SendDevice
|
||||
#ifdef APP_STATS_NETDEV2
|
||||
ldi yl, LOW(netInterfaceData2)
|
||||
ldi yh, HIGH(netInterfaceData2)
|
||||
rcall AppNetwork_SendDevice
|
||||
#endif
|
||||
pop yh
|
||||
pop yl
|
||||
ret
|
||||
AppStats_OnEveryMinute_sendPacketsIn:
|
||||
ldi r16, 0
|
||||
rjmp appStatsSendDeviceStat
|
||||
|
||||
Reference in New Issue
Block a user