mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 22:23:34 +08:00
Failsafe: remove unused mode req
This commit is contained in:
@@ -8,7 +8,6 @@ uint64 timestamp # time since system start (microseconds)
|
||||
# Per-mode requirements
|
||||
uint32 mode_req_angular_velocity
|
||||
uint32 mode_req_attitude
|
||||
uint32 mode_req_dead_reckoning_invalid
|
||||
uint32 mode_req_local_alt
|
||||
uint32 mode_req_local_position
|
||||
uint32 mode_req_local_position_relaxed
|
||||
|
||||
@@ -49,7 +49,6 @@ void getModeRequirements(uint8_t vehicle_type, failsafe_flags_s &flags)
|
||||
flags.mode_req_attitude = 0;
|
||||
flags.mode_req_local_position = 0;
|
||||
flags.mode_req_local_position_relaxed = 0;
|
||||
flags.mode_req_dead_reckoning_invalid = 0;
|
||||
flags.mode_req_global_position = 0;
|
||||
flags.mode_req_global_position_relaxed = 0;
|
||||
flags.mode_req_local_alt = 0;
|
||||
|
||||
Reference in New Issue
Block a user