main.cpp: bugfix 2nd LED
This commit is contained in:
parent
0dcb9b9e2b
commit
8430e9fe92
@ -195,8 +195,8 @@ void setup() {
|
|||||||
#if (HAS_LED != NOT_A_PIN)
|
#if (HAS_LED != NOT_A_PIN)
|
||||||
pinMode(HAS_LED, OUTPUT);
|
pinMode(HAS_LED, OUTPUT);
|
||||||
strcat_P(features, " LED");
|
strcat_P(features, " LED");
|
||||||
#if (HAS_LED1 != NOT_A_PIN)
|
#ifdef HAS_TWO_LED
|
||||||
pinMode(HAS_LED1, OUTPUT);
|
pinMode(HAS_TWO_LED, OUTPUT);
|
||||||
strcat_P(features, " LED1");
|
strcat_P(features, " LED1");
|
||||||
#endif
|
#endif
|
||||||
// use LED for power display if we have additional RGB LED, else for status
|
// use LED for power display if we have additional RGB LED, else for status
|
||||||
|
Loading…
Reference in New Issue
Block a user