diff --git a/avr/modules/comproto/main.asm b/avr/modules/comproto/main.asm index 07fbc9e..5da1ba8 100644 --- a/avr/modules/comproto/main.asm +++ b/avr/modules/comproto/main.asm @@ -68,12 +68,14 @@ CPRO_OnPacketReceived: cpi r16, CPRO_CMD_PING brne CPRO_OnPacketReceived_l1 rjmp cproHandlePing + CPRO_OnPacketReceived_l1: #ifndef BASE_SYSTEM cpi r16, CPRO_CMD_REBOOT_REQUEST brne CPRO_OnPacketReceived_l2 rjmp cproHandleReboot #endif + CPRO_OnPacketReceived_l2: #ifdef MODULES_COM_WITH_ADDR_PROTO rjmp CPRO_Address_OnPacketReceived