From 2640c0ba5902608a5c4bf40c4ecb5f1a901a924c Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Fri, 15 Mar 2019 19:54:20 +0100 Subject: [PATCH] main.cpp: bugfix lowpower gpio pin init --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 0b44c850..a9a54669 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 -} \ No newline at end of file +}