diff --git a/src/imu.c b/src/imu.c index c8c56ac10b..91928e8f3a 100755 --- a/src/imu.c +++ b/src/imu.c @@ -288,7 +288,7 @@ static void getEstimatedAttitude(void) EstM.A[axis] = (EstM.A[axis] * (float)mcfg.gyro_cmpfm_factor + magADC[axis]) * INV_GYR_CMPFM_FACTOR; } - if (abs(EstG.A[Z]) > accZ_25deg) + if (EstG.A[Z] > accZ_25deg) f.SMALL_ANGLES_25 = 1; else f.SMALL_ANGLES_25 = 0;