diff --git a/src/main/flight/pid.c b/src/main/flight/pid.c index 88ce802c18..3a5beae970 100644 --- a/src/main/flight/pid.c +++ b/src/main/flight/pid.c @@ -413,9 +413,6 @@ void pidController(const pidProfile_t *pidProfile, const rollAndPitchTrims_t *an static timeUs_t previousTime; // calculate actual deltaT -#ifndef SITL - currentTimeUs = microsISR(); // re-get current time, since there can be variations in timing since scheduler invocation -#endif const float deltaT = currentTimeUs - previousTime; previousTime = currentTimeUs;