Ensure buffer is swapped in dual buffer mode
Bug introduced in https://github.com/open-x4-epaper/community-sdk/pull/7
This commit is contained in:
parent
af965a074b
commit
8bc16361ea
@ -437,6 +437,10 @@ void EInkDisplay::displayBuffer(RefreshMode mode) {
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef EINK_DISPLAY_SINGLE_BUFFER_MODE
|
||||
swapBuffers();
|
||||
#endif
|
||||
|
||||
// Refresh the display
|
||||
refreshDisplay(mode);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user