1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
This commit is contained in:
jflyper 2016-12-09 00:09:25 +09:00
commit 0f59251b58
112 changed files with 1019 additions and 452 deletions

View file

@ -160,7 +160,7 @@ static void taskUpdateRxMain(timeUs_t currentTimeUs)
static void taskUpdateCompass(timeUs_t currentTimeUs)
{
if (sensors(SENSOR_MAG)) {
compassUpdate(currentTimeUs, &sensorTrims()->magZero);
compassUpdate(currentTimeUs, &compassConfig()->magZero);
}
}
#endif