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

pull/3704/head^2
todd-herbert 2024-04-24 05:00:48 +12:00 zatwierdzone przez GitHub
rodzic 7acaec8ef5
commit 4599534616
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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