Merge pull request #4637 from todd-herbert/gps-icon

Update E-Ink GPS icon immediately when triple-pressing user button
This commit is contained in:
Thomas Göttgens 2024-09-06 11:25:12 +02:00 committed by GitHub
commit 26a3841a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1766,6 +1766,11 @@ void Screen::forceDisplay(bool forceUiUpdate)
#ifdef USE_EINK
// If requested, make sure queued commands are run, and UI has rendered a new frame
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
setFastFramerate();