AP_Periph: allow for reboot while in DNA
This commit is contained in:
parent
724cea2b0d
commit
efe8042fbe
@ -1182,6 +1182,10 @@ static void can_wait_node_id(void)
|
|||||||
led_idx = (led_idx+1) % 32;
|
led_idx = (led_idx+1) % 32;
|
||||||
last_led_change = now;
|
last_led_change = now;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT
|
||||||
|
periph.check_for_serial_reboot_cmd(HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user