1
0
Fork 0
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:
Martin Budden 2017-01-01 21:29:57 +00:00
parent 3e1c158ad0
commit a690e49239
15 changed files with 139 additions and 125 deletions

View file

@ -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