feat: add OLED sleep settings and management to save the display from burn-in
This commit is contained in:
1 parent
87a0403735
commit
96a5e184dd
10 files changed
+159
-2
No files matched your search
@@ -196,6 +196,7 @@ void scale_loop(void * parameter) {
|
||||
// Update global weight variable only if it changed significantly (for API actions)
|
||||
if (stabilizedWeight != weight) {
|
||||
weight = stabilizedWeight;
|
||||
oledResetActivityTimer(); // Wake display on weight change
|
||||
}
|
||||
|
||||
// Prüfen ob die Waage korrekt genullt ist
|
||||
|
||||
Reference in new issue
Block a user