created pong message.
This commit is contained in:
@@ -180,11 +180,10 @@ appNetworkHandlePingRequest:
|
||||
brcc appNetworkHandlePingRequest_end ; jmp on error
|
||||
push r16 ; buffer num
|
||||
mov r16, r17 ; DEST addr
|
||||
ldi r18, NETMSG_CMD_PONG ; msg type
|
||||
adiw xh:xl, 1
|
||||
ldi yl, LOW(netInterfaceData)
|
||||
ldi yh, HIGH(netInterfaceData)
|
||||
rcall NETMSG_SimpleMsgWrite ; (R16, R17, R18, R19, R20, X)
|
||||
rcall NETMSG_Pong_Write ; (R16, R17, R18, R19, R20, X)
|
||||
sbiw xh:xl, 1
|
||||
pop r16 ; buffer num
|
||||
rcall NET_Interface_AddOrReleaseOutMsg ; (R16, R17, R18, X)
|
||||
|
||||
Reference in New Issue
Block a user