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:
parent
555269c2a3
commit
eb5cfe19ac
2 changed files with 174 additions and 7 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue