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

Fix #101: Add updateGtuneState() function call

This commit is contained in:
xiangbo 2016-01-11 16:24:10 +08:00
parent e650a36cb2
commit 886d2f09a2

View file

@ -682,6 +682,10 @@ void taskMainPidLoop(void)
}
#endif
#ifdef GTUNE
updateGtuneState();
#endif
#if defined(BARO) || defined(SONAR)
if (sensors(SENSOR_BARO) || sensors(SENSOR_SONAR)) {
if (FLIGHT_MODE(BARO_MODE) || FLIGHT_MODE(SONAR_MODE)) {