1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Barometer update fix

This commit is contained in:
Martin Budden 2016-09-19 08:38:56 +01:00
parent dd05754fae
commit b590629f9a

View file

@ -991,8 +991,10 @@ void taskUpdateBaro(uint32_t currentTime)
if (sensors(SENSOR_BARO)) {
const uint32_t newDeadline = baroUpdate();
if (newDeadline != 0) {
rescheduleTask(TASK_SELF, newDeadline);
}
}
}
#endif