Added the forceRefresh method
This commit is contained in:
parent
fe8b51d3a8
commit
741eee8f5d
@ -251,6 +251,13 @@ void ScreenManager::run()
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenManager::forceRefresh()
|
||||
{
|
||||
if(!_enabled) return;
|
||||
_forceRefresh = true;
|
||||
run();
|
||||
}
|
||||
|
||||
boolean ScreenManager::displayView(const uint8_t UID)
|
||||
{
|
||||
if(!_enabled) return true;
|
||||
|
@ -19,6 +19,7 @@ class ScreenManager
|
||||
boolean displayView(const uint8_t UID);
|
||||
void displayNextView();
|
||||
void displayPreviousView();
|
||||
void forceRefresh();
|
||||
boolean applyCfgFromSD();
|
||||
void invertDisplayColor(const boolean inverted);
|
||||
void orientDisplay(const Orientation orientation);
|
||||
|
Loading…
Reference in New Issue
Block a user