From 04c005a213f9247d899f5f632124fcc82e684378 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 25 Oct 2019 17:04:37 +1100 Subject: [PATCH] AP_Parachute: cope with change in namespace of LogEvent enum --- libraries/AP_Parachute/AP_Parachute.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {