Terminate an async-full-refresh when caught by determineMode() instead of onNotify() (#3706)

This commit is contained in:
todd-herbert 2024-04-24 05:00:48 +12:00 committed by GitHub
parent 7acaec8ef5
commit 4599534616
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,6 +534,10 @@ void EInkDynamicDisplay::checkBusyAsyncRefresh()
return;
}
// Async refresh appears to have stopped, but wasn't caught by onNotify()
else
pollAsyncRefresh(); // Check (and terminate) the async refresh manually
}
// Hold control while an async refresh runs