|
|
|
@ -27,6 +27,7 @@
@@ -27,6 +27,7 @@
|
|
|
|
|
#include <AP_HAL_ChibiOS/RCInput.h> |
|
|
|
|
#include <AP_HAL_ChibiOS/CAN.h> |
|
|
|
|
|
|
|
|
|
#include <DataFlash/DataFlash.h> |
|
|
|
|
#include <AP_Scheduler/AP_Scheduler.h> |
|
|
|
|
#include <AP_BoardConfig/AP_BoardConfig.h> |
|
|
|
|
#include "shared_dma.h" |
|
|
|
@ -238,6 +239,9 @@ void Scheduler::reboot(bool hold_in_bootloader)
@@ -238,6 +239,9 @@ void Scheduler::reboot(bool hold_in_bootloader)
|
|
|
|
|
hal.rcout->force_safety_on(); |
|
|
|
|
hal.rcout->force_safety_no_wait(); |
|
|
|
|
|
|
|
|
|
//stop logging
|
|
|
|
|
DataFlash_Class::instance()->StopLogging(); |
|
|
|
|
|
|
|
|
|
// stop sdcard driver, if active
|
|
|
|
|
sdcard_stop(); |
|
|
|
|
|
|
|
|
|