mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 07:33:34 +08:00
fw pos ctrl l1 main: remove never used var
This commit is contained in:
@@ -593,8 +593,6 @@ FixedwingPositionControl::vehicle_control_mode_poll()
|
||||
|
||||
if (vstatus_updated) {
|
||||
|
||||
bool was_armed = _control_mode.flag_armed;
|
||||
|
||||
orb_copy(ORB_ID(vehicle_control_mode), _control_mode_sub, &_control_mode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user