mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Rover: correct compilation with AdvancedFailsafe disabled
This commit is contained in:
parent
20f904ce66
commit
d9b41b3953
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user