diff --git a/libraries/AP_Parachute/AP_Parachute.cpp b/libraries/AP_Parachute/AP_Parachute.cpp index 684ee77e5d..3c89d390d6 100644 --- a/libraries/AP_Parachute/AP_Parachute.cpp +++ b/libraries/AP_Parachute/AP_Parachute.cpp @@ -83,7 +83,7 @@ void AP_Parachute::enabled(bool on_off) // clear release_time _release_time = 0; - AP::logger().Write_Event(_enabled ? DATA_PARACHUTE_ENABLED : DATA_PARACHUTE_DISABLED); + AP::logger().Write_Event(_enabled ? LogEvent::PARACHUTE_ENABLED : LogEvent::PARACHUTE_DISABLED); } /// release - release parachute @@ -95,7 +95,7 @@ void AP_Parachute::release() } gcs().send_text(MAV_SEVERITY_INFO,"Parachute: Released"); - AP::logger().Write_Event(DATA_PARACHUTE_RELEASED); + AP::logger().Write_Event(LogEvent::PARACHUTE_RELEASED); // set release time to current system time if (_release_time == 0) {