main.cpp: bugfix lowpower gpio pin init
This commit is contained in:
parent
847bd7431c
commit
2640c0ba59
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user