mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Rebased
This commit is contained in:
commit
0f59251b58
112 changed files with 1019 additions and 452 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue