mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Added compassConfig parameter group
This commit is contained in:
parent
3e1c158ad0
commit
a690e49239
15 changed files with 139 additions and 125 deletions
|
@ -426,7 +426,7 @@ static int imuCalculateAccelerometerConfidence(void)
|
|||
static void imuCalculateEstimatedAttitude(float dT)
|
||||
{
|
||||
#if defined(MAG)
|
||||
const bool canUseMAG = sensors(SENSOR_MAG) && isCompassHealthy();
|
||||
const bool canUseMAG = sensors(SENSOR_MAG) && compassIsHealthy();
|
||||
#else
|
||||
const bool canUseMAG = false;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue