mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 12:38:34 +00:00
Refresh E-Ink to show changes in GPS icon
This commit is contained in:
parent
7c6454f171
commit
bcdc36c07c
@ -1766,6 +1766,11 @@ void Screen::forceDisplay(bool forceUiUpdate)
|
|||||||
#ifdef USE_EINK
|
#ifdef USE_EINK
|
||||||
// If requested, make sure queued commands are run, and UI has rendered a new frame
|
// If requested, make sure queued commands are run, and UI has rendered a new frame
|
||||||
if (forceUiUpdate) {
|
if (forceUiUpdate) {
|
||||||
|
// Force a display refresh, in addition to the UI update
|
||||||
|
// Changing the GPS status bar icon apparently doesn't register as a change in image
|
||||||
|
// (False negative of the image hashing algorithm used to skip identical frames)
|
||||||
|
EINK_ADD_FRAMEFLAG(dispdev, DEMAND_FAST);
|
||||||
|
|
||||||
// No delay between UI frame rendering
|
// No delay between UI frame rendering
|
||||||
setFastFramerate();
|
setFastFramerate();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user