diff --git a/src/app/ScreenManager.cpp b/src/app/ScreenManager.cpp index aba2495..733683e 100644 --- a/src/app/ScreenManager.cpp +++ b/src/app/ScreenManager.cpp @@ -259,6 +259,16 @@ void ScreenManager::dimDisplay(const boolean dimmed) _displayDimmed = dimmed; } +void ScreenManager::sleep() +{ + _displayRef.sleep(); +} + +void ScreenManager::wakeUp() +{ + _displayRef.wakeUp(); +} + void ScreenManager::orientDisplay(const Orientation orientation) { _displayRef.setRotation(orientation); diff --git a/src/app/ScreenManager.h b/src/app/ScreenManager.h index 8d34d78..5e73f96 100644 --- a/src/app/ScreenManager.h +++ b/src/app/ScreenManager.h @@ -17,6 +17,8 @@ class ScreenManager void orientDisplay(const Orientation orientation); void dimDisplay(const boolean dimmed); void clearDisplay(const boolean bufferOnly = false); + void sleep(); + void wakeUp(); Error getError() const; const char* getErrorMessage() const;