Skip to content
Snippets Groups Projects
Commit bd6edecd authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: restore logging of arm/disarm event

parent 94a05a92
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ static void init_arm_motors()
// finally actually arm the motors
motors.armed(true);
// log arming to dataflash
Log_Write_Event(DATA_ARMED);
// reenable failsafe
failsafe_enable();
}
......@@ -213,6 +216,9 @@ static void init_disarm_motors()
ahrs2.set_fast_gains(true);
#endif
// log disarm to the dataflash
Log_Write_Event(DATA_DISARMED);
// disable gps velocity based centrefugal force compensation
ahrs.set_correct_centrifugal(false);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment