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

Added PG config definitions 4

This commit is contained in:
Martin Budden 2017-02-25 17:35:00 +00:00
parent fd1d8d532e
commit c92679f454
10 changed files with 110 additions and 13 deletions

View file

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