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:
Dave Allie 2025-12-16 22:59:56 +11:00
parent af965a074b
commit 8bc16361ea
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F

View File

@ -437,6 +437,10 @@ void EInkDisplay::displayBuffer(RefreshMode mode) {
#endif
}
#ifndef EINK_DISPLAY_SINGLE_BUFFER_MODE
swapBuffers();
#endif
// Refresh the display
refreshDisplay(mode);