avr: fixed a bug.
answering with a PONG to a PING packet works again.
This commit is contained in:
@@ -92,6 +92,9 @@ cproHandlePing:
|
||||
breq cproHandlePing_notHandled
|
||||
inc r16
|
||||
breq cproHandlePing_notHandled ; dont handle src address 255
|
||||
dec r16
|
||||
ldi xl, LOW(com2SendBuffer)
|
||||
ldi xh, HIGH(com2SendBuffer)
|
||||
rcall CPRO_WritePong
|
||||
rjmp COM2_SendPacket ; use carry flag from this routine
|
||||
cproHandlePing_notHandled:
|
||||
|
||||
Reference in New Issue
Block a user