Move the button check at start of the program (#1330)

So as to enable to trigger the wm portal before the setup of all the modules
This commit is contained in:
Florian authored and GitHub committed 2022-11-28 20:04:48 -06:00
1 parent 74a8698117
commit 3e9fbb21ff
2 files changed
+7 -6

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ On M5Stack boards you may do a long press to these buttons in low power mode 0 (
* Button C on M5Stack (GPIO 37)
* Button lateral on M5stick (GPIO 35)
You can also do a long press when powering the board so as to reset it.
### Low power mode for ESP32
OpenMQTTGateway support a low power mode for ESP32, this mode can be set by MQTT: