mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Parachute: cope with change in namespace of LogEvent enum
This commit is contained in:
parent
f337d011e7
commit
04c005a213
@ -83,7 +83,7 @@ void AP_Parachute::enabled(bool on_off)
|
|||||||
// clear release_time
|
// clear release_time
|
||||||
_release_time = 0;
|
_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
|
/// release - release parachute
|
||||||
@ -95,7 +95,7 @@ void AP_Parachute::release()
|
|||||||
}
|
}
|
||||||
|
|
||||||
gcs().send_text(MAV_SEVERITY_INFO,"Parachute: Released");
|
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
|
// set release time to current system time
|
||||||
if (_release_time == 0) {
|
if (_release_time == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user