Tracker: tell dataflash we're arming or disarming

This commit is contained in:
Peter Barker 2017-06-16 23:22:54 +10:00 committed by Francisco Ferreira
parent 75a89dbfeb
commit 762d5a649d

View File

@ -175,11 +175,13 @@ void Tracker::set_home(struct Location temp)
void Tracker::arm_servos()
{
hal.util->set_soft_armed(true);
DataFlash.set_vehicle_armed(true);
}
void Tracker::disarm_servos()
{
hal.util->set_soft_armed(false);
DataFlash.set_vehicle_armed(false);
}
/*