[EInkDisplay] Noop grayscaleRevert if not in grayscale mode
This commit is contained in:
parent
a126d4b0bf
commit
7e0dce9167
@ -364,6 +364,10 @@ void EInkDisplay::swapBuffers() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EInkDisplay::grayscaleRevert() {
|
void EInkDisplay::grayscaleRevert() {
|
||||||
|
if (!inGrayscaleMode) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
inGrayscaleMode = false;
|
inGrayscaleMode = false;
|
||||||
|
|
||||||
// Load the revert LUT
|
// Load the revert LUT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user