diff --git a/avr/comproto.asm b/avr/comproto.asm index c47f6e8..4bc7f0f 100644 --- a/avr/comproto.asm +++ b/avr/comproto.asm @@ -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: