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:
parent
b91b7a304d
commit
1040168b9a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue