AP_Periph: allow for reboot while in DNA

This commit is contained in:
Andrew Tridgell 2021-04-29 14:44:26 +10:00
parent 724cea2b0d
commit efe8042fbe
1 changed files with 4 additions and 0 deletions

View File

@ -1182,6 +1182,10 @@ static void can_wait_node_id(void)
led_idx = (led_idx+1) % 32;
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
}