FlightTask: remove unused _time

This commit is contained in:
Matthias Grob
2021-11-15 19:55:10 +01:00
parent 4a66c8c4c4
commit 33e349d71e
2 changed files with 0 additions and 2 deletions
@@ -29,7 +29,6 @@ void FlightTask::reActivate()
bool FlightTask::updateInitialize()
{
_time_stamp_current = hrt_absolute_time();
_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;
@@ -220,7 +220,6 @@ protected:
/* Time abstraction */
static constexpr uint64_t _timeout = 500000; /**< maximal time in us before a loop or data times out */
float _time{}; /**< passed time in seconds since the task was activated */
float _deltatime{}; /**< passed time in seconds since the task was last updated */
hrt_abstime _time_stamp_activate{}; /**< time stamp when task was activated */