Async full-refresh for EInkDynamicDisplay

This commit is contained in:
Todd Herbert
2024-03-09 09:30:34 +13:00
parent 5d4d91f775
commit 07da130586
6 changed files with 117 additions and 26 deletions
+7
View File
@@ -45,6 +45,13 @@ class EInkDisplay : public OLEDDisplay
*/
virtual bool forceDisplay(uint32_t msecLimit = 1000);
/**
* Run any code needed to complete an update, after the physical refresh has completed.
* Split from forceDisplay(), to enable async refresh in derived EInkDynamicDisplay class.
*
*/
virtual void endUpdate();
/**
* shim to make the abstraction happy
*