Tidied ALIENFLIGHTF3 ledInit
This commit is contained in:
parent
1c997abaaf
commit
5c3e65782d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue