diff --git a/src/main/main.c b/src/main/main.c index 6597ea7673..7ec478feae 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -159,11 +159,7 @@ void init(void) latchActiveFeatures(); #ifdef ALIENFLIGHTF3 - if (hardwareRevision == AFF3_REV_1) { - ledInit(false); - } else { - ledInit(true); - } + ledInit(hardwareRevision == AFF3_REV_1 ? false : true); #else ledInit(false); #endif