diff --git a/src/main/sensors/acceleration.c b/src/main/sensors/acceleration.c index f2cd4a7f96..6a45d357b4 100644 --- a/src/main/sensors/acceleration.c +++ b/src/main/sensors/acceleration.c @@ -370,15 +370,11 @@ bool accInit(void) { acc.dev.mpuDetectionResult = *gyroMpuDetectionResult(); acc.dev.acc_high_fsr = accelerometerConfig()->acc_high_fsr; #ifdef USE_DUAL_GYRO - #if defined ACC_2_ALIGN if (gyroConfig()->gyro_to_use == GYRO_CONFIG_USE_GYRO_2) { acc.dev.accAlign = ACC_2_ALIGN; - } - #elif defined ACC_1_ALIGN + } else { acc.dev.accAlign = ACC_1_ALIGN; - #else - acc.dev.accAlign = ALIGN_DEFAULT; - #endif + } #else acc.dev.accAlign = ALIGN_DEFAULT; #endif