Browse Source

AP_HAL_ChibiOS: Remove unimplemented force_safety_no_wait()

ChibiOS doesn't implement the method, so there is nothing to be gained
by calling the function.
master
Michael du Breuil 7 years ago committed by Andrew Tridgell
parent
commit
f6cb196d53
  1. 1
      libraries/AP_HAL_ChibiOS/Scheduler.cpp

1
libraries/AP_HAL_ChibiOS/Scheduler.cpp

@ -208,7 +208,6 @@ void Scheduler::reboot(bool hold_in_bootloader)
{ {
// disarm motors to ensure they are off during a bootloader upload // disarm motors to ensure they are off during a bootloader upload
hal.rcout->force_safety_on(); hal.rcout->force_safety_on();
hal.rcout->force_safety_no_wait();
//stop logging //stop logging
DataFlash_Class::instance()->StopLogging(); DataFlash_Class::instance()->StopLogging();

Loading…
Cancel
Save