|
|
|
@ -43,7 +43,7 @@ MENU(main_menu, THISFIRMWARE, main_menu_commands);
@@ -43,7 +43,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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -626,13 +626,6 @@ uint16_t board_voltage(void)
@@ -626,13 +626,6 @@ uint16_t board_voltage(void)
|
|
|
|
|
return board_vcc_analog_source->read_latest(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
force a software reset of the APM |
|
|
|
|
*/ |
|
|
|
|
static void reboot_apm(void) { |
|
|
|
|
hal.scheduler->reboot(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// print_flight_mode - prints flight mode to serial port. |
|
|
|
|
// |
|
|
|
|