1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

AlienFlight fixes

This commit is contained in:
Michael Jakob 2016-02-12 18:36:39 +01:00
parent 05f5dab607
commit 513db25bd5
5 changed files with 112 additions and 99 deletions

View file

@ -189,7 +189,15 @@ void init(void)
// Latch active features to be used for feature() in the remainder of init().
latchActiveFeatures();
ledInit();
#ifdef ALIENFLIGHTF3
if (hardwareRevision == AFF3_REV_1) {
ledInit(false);
} else {
ledInit(true);
}
#else
ledInit(false);
#endif
#ifdef SPRACINGF3MINI
gpio_config_t buttonAGpioConfig = {