FlightModeManager: make sure emergency failsafe works

This commit is contained in:
Matthias Grob
2020-10-24 14:35:27 +02:00
committed by Daniel Agar
parent 8329208b84
commit 8edb06e94f
3 changed files with 12 additions and 17 deletions

View File

@@ -220,7 +220,7 @@ private:
* to true, the failsafe will be initiated immediately.
*/
void failsafe(const hrt_abstime &now, vehicle_local_position_setpoint_s &setpoint, const PositionControlStates &states,
const bool force, bool warn);
bool warn);
/**
* Reset setpoints to NAN