main.cpp: bugfix lowpower gpio pin init
This commit is contained in:
1 parent
847bd7431c
commit
2640c0ba59
1 file changed
+2
-2
+2
-2
@@ -184,7 +184,7 @@ void setup() {
|
|||||||
|
|
||||||
// set low power mode to off
|
// set low power mode to off
|
||||||
#ifdef HAS_LOWPOWER_SWITCH
|
#ifdef HAS_LOWPOWER_SWITCH
|
||||||
pinMode(HAS_LED, OUTPUT);
|
pinMode(HAS_LOWPOWER_SWITCH, OUTPUT);
|
||||||
digitalWrite(HAS_LOWPOWER_SWITCH, HIGH);
|
digitalWrite(HAS_LOWPOWER_SWITCH, HIGH);
|
||||||
strcat_P(features, " LPWR");
|
strcat_P(features, " LPWR");
|
||||||
#endif
|
#endif
|
||||||
@@ -428,4 +428,4 @@ void loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vTaskDelete(NULL); // shoud never be reached
|
vTaskDelete(NULL); // shoud never be reached
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user