Merge pull request #104 from wavecut/betaflight

Fixed #101: Add updateGtuneState() function call
This commit is contained in:
borisbstyle 2016-01-12 16:11:54 +01:00
commit bb5a32832b
1 changed files with 4 additions and 0 deletions

View File

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