1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Alternative LED configuration is for AFF3 REV2

This commit is contained in:
blckmn 2016-12-10 10:40:21 +11:00
parent b91b7a304d
commit 1040168b9a

View file

@ -46,7 +46,7 @@
void targetConfiguration(master_t *config) void targetConfiguration(master_t *config)
{ {
/* depending on revision ... depends on the LEDs to be utilised. */ /* depending on revision ... depends on the LEDs to be utilised. */
if (hardwareRevision == AFF3_REV_1) { if (hardwareRevision == AFF3_REV_2) {
config->statusLedConfig.polarity = 0 config->statusLedConfig.polarity = 0
#ifdef LED0_A_INVERTED #ifdef LED0_A_INVERTED
| BIT(0) | BIT(0)