mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: add missing Terminate action for Failsafe
This commit is contained in:
parent
7dc0c567ce
commit
0029457dc6
@ -101,6 +101,9 @@ void Rover::failsafe_trigger(uint8_t failsafe_type, const char* type_str, bool o
|
|||||||
set_mode(mode_hold, ModeReason::FAILSAFE);
|
set_mode(mode_hold, ModeReason::FAILSAFE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case FailsafeAction::Terminate:
|
||||||
|
arming.disarm(AP_Arming::Method::FAILSAFE_ACTION_TERMINATE);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user