|
|
|
@ -44,7 +44,7 @@ MENU(main_menu, THISFIRMWARE, main_menu_commands);
@@ -44,7 +44,7 @@ MENU(main_menu, THISFIRMWARE, main_menu_commands);
|
|
|
|
|
|
|
|
|
|
static int8_t reboot_board(uint8_t argc, const Menu::arg *argv) |
|
|
|
|
{ |
|
|
|
|
reboot_apm(); |
|
|
|
|
hal.scheduler->reboot(false); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -559,16 +559,6 @@ uint16_t board_voltage(void)
@@ -559,16 +559,6 @@ uint16_t board_voltage(void)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
force a software reset of the APM |
|
|
|
|
*/ |
|
|
|
|
static void reboot_apm(void) |
|
|
|
|
{ |
|
|
|
|
hal.scheduler->reboot(); |
|
|
|
|
while (1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|
print_flight_mode(AP_HAL::BetterStream *port, uint8_t mode) |
|
|
|
|
{ |
|
|
|
|