[EInkDisplay] Ensure buffer is swapped in dual buffer mode (#8)

Bug introduced in https://github.com/open-x4-epaper/community-sdk/pull/7
This commit is contained in:
Dave Allie 2025-12-16 23:00:59 +11:00 committed by GitHub
parent af965a074b
commit fba62200e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);