mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 02:30:35 +08:00
FlightTasks: small refactor for review comments
This commit is contained in:
@@ -26,8 +26,7 @@ int FlightTask::update()
|
||||
_time = (_time_stamp_current - _time_stamp_activate) / 1e6f;
|
||||
_deltatime = math::min((_time_stamp_current - _time_stamp_last), _timeout) / 1e6f;
|
||||
_time_stamp_last = _time_stamp_current;
|
||||
int ret = _evaluate_vehicle_position();
|
||||
return ret;
|
||||
return _evaluate_vehicle_position();
|
||||
}
|
||||
|
||||
int FlightTask::_evaluate_vehicle_position()
|
||||
|
||||
Reference in New Issue
Block a user