1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

SPRacingF3EVO - temporary fix for SPI AK8963. See #2022.

This commit is contained in:
Dominic Clifton 2016-04-08 16:22:54 +02:00 committed by borisbstyle
parent 555269c2a3
commit eb5cfe19ac
2 changed files with 174 additions and 7 deletions

View file

@ -698,6 +698,10 @@ int main(void) {
#endif
#ifdef MAG
setTaskEnabled(TASK_COMPASS, sensors(SENSOR_MAG));
#ifdef SPRACINGF3EVO
// fixme temporary solution for AK6983 via slave I2C on MPU9250
rescheduleTask(TASK_COMPASS, 1000000 / 40);
#endif
#endif
#ifdef BARO
setTaskEnabled(TASK_BARO, sensors(SENSOR_BARO));