Rover: correct compilation with AdvancedFailsafe disabled

This commit is contained in:
Peter Barker 2019-11-01 11:08:43 +11:00 committed by Peter Barker
parent 20f904ce66
commit d9b41b3953

View File

@ -15,7 +15,7 @@ void AP_AdvancedFailsafe_Rover::terminate_vehicle(void)
AP::arming().disarm();
// Set to HOLD mode
rover.set_mode(rover.mode_hold, MODE_REASON_CRASH_FAILSAFE);
rover.set_mode(rover.mode_hold, ModeReason::CRASH_FAILSAFE);
}
/*