main.cpp: bugfix 2nd LED

This commit is contained in:
Verkehrsrot 2019-03-24 16:18:29 +01:00
parent 0dcb9b9e2b
commit 8430e9fe92

View File

@ -195,8 +195,8 @@ void setup() {
#if (HAS_LED != NOT_A_PIN)
pinMode(HAS_LED, OUTPUT);
strcat_P(features, " LED");
#if (HAS_LED1 != NOT_A_PIN)
pinMode(HAS_LED1, OUTPUT);
#ifdef HAS_TWO_LED
pinMode(HAS_TWO_LED, OUTPUT);
strcat_P(features, " LED1");
#endif
// use LED for power display if we have additional RGB LED, else for status