[EInkDisplay] Noop grayscaleRevert if not in grayscale mode

This commit is contained in:
Dave Allie 2025-12-13 16:01:17 +11:00
parent a126d4b0bf
commit 7e0dce9167
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F

View File

@ -364,6 +364,10 @@ void EInkDisplay::swapBuffers() {
}
void EInkDisplay::grayscaleRevert() {
if (!inGrayscaleMode) {
return;
}
inGrayscaleMode = false;
// Load the revert LUT