Browse Source

Copter: call BoardConfig.init_safety() at end of startup

this fixes a bug where motors can start on soft reboot
mission-4.1.18
Andrew Tridgell 8 years ago
parent
commit
10b89db498
  1. 3
      ArduCopter/system.cpp

3
ArduCopter/system.cpp

@ -316,6 +316,9 @@ void Copter::init_ardupilot() @@ -316,6 +316,9 @@ void Copter::init_ardupilot()
enable_motor_output();
}
// disable safety if requested
BoardConfig.init_safety();
cliSerial->printf("\nReady to FLY ");
// flag that initialisation has completed

Loading…
Cancel
Save