[SYS][BREAKING] Add gateway states, Offline mode and refactor sleep (#2020)
Gaterway states to improve LED management Make the sleep function accessible outside BT BREAKING remove sleep for ESP8266 BREAKING lowpowermode API changed to powermode and new mode definition Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
068c2e457a
commit
f9a5c6961a
16 files changed
+367
-443
No files matched your search
@@ -131,7 +131,7 @@ extern String stateSSD1306Display();
|
||||
// Simple construct for displaying message in lcd and oled displays
|
||||
|
||||
#define displayPrint(...) \
|
||||
if (lowpowermode < 2) ssd1306Print(__VA_ARGS__) // only print if not in low power mode
|
||||
if (SYSConfig.powerMode < 1) ssd1306Print(__VA_ARGS__) // only print if not in low power mode
|
||||
#define lpDisplayPrint(...) ssd1306Print(__VA_ARGS__) // print in low power mode
|
||||
|
||||
void ssd1306Print(char*, char*, char*);
|
||||
|
||||
Reference in new issue
Block a user