main.cpp: bugfix lowpower gpio pin init

This commit is contained in:
Verkehrsrot 2019-03-15 19:54:20 +01:00 committed by GitHub
parent 847bd7431c
commit 2640c0ba59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ void setup() {
// set low power mode to off
#ifdef HAS_LOWPOWER_SWITCH
pinMode(HAS_LED, OUTPUT);
pinMode(HAS_LOWPOWER_SWITCH, OUTPUT);
digitalWrite(HAS_LOWPOWER_SWITCH, HIGH);
strcat_P(features, " LPWR");
#endif
@ -428,4 +428,4 @@ void loop() {
}
vTaskDelete(NULL); // shoud never be reached
}
}