diff --git a/libraries/AP_LandingGear/AP_LandingGear.cpp b/libraries/AP_LandingGear/AP_LandingGear.cpp index 62c787989e..9af832faf6 100644 --- a/libraries/AP_LandingGear/AP_LandingGear.cpp +++ b/libraries/AP_LandingGear/AP_LandingGear.cpp @@ -139,6 +139,7 @@ void AP_LandingGear::deploy() // set deployed flag _deployed = true; _have_changed = true; + AP::logger().Write_Event(LogEvent::LANDING_GEAR_DEPLOYED); } /// retract - retract landing gear @@ -150,6 +151,7 @@ void AP_LandingGear::retract() // reset deployed flag _deployed = false; _have_changed = true; + AP::logger().Write_Event(LogEvent::LANDING_GEAR_RETRACTED); // send message only if output has been configured if (SRV_Channels::function_assigned(SRV_Channel::k_landing_gear_control)) {