mirror of
https://github.com/open-x4-epaper/community-sdk.git
synced 2026-04-29 10:24:18 -07:00
[EInkDisplay] Noop grayscaleRevert if not in grayscale mode
This commit is contained in:
@@ -364,6 +364,10 @@ void EInkDisplay::swapBuffers() {
|
||||
}
|
||||
|
||||
void EInkDisplay::grayscaleRevert() {
|
||||
if (!inGrayscaleMode) {
|
||||
return;
|
||||
}
|
||||
|
||||
inGrayscaleMode = false;
|
||||
|
||||
// Load the revert LUT
|
||||
|
||||
Reference in New Issue
Block a user