Bugfix transition L<->R

@discip I take it back, there was a bug :)
This commit is contained in:
Ben V. Brown
2024-04-09 20:27:36 +10:00
parent c45c77e845
commit 9e51a9cdbd

View File

@@ -274,8 +274,8 @@ void OLED::transitionSecondaryFramebuffer(const bool forwardNavigation, const Ti
stripBackPointers[1] = &secondFrameBuffer[FRAMEBUFFER_START + OLED_WIDTH];
#ifdef OLED_128x32
stripBackPointers[2] = &secondFrameBuffer[OLED_WIDTH * 2];
stripBackPointers[3] = &secondFrameBuffer[OLED_WIDTH * 3];
stripBackPointers[2] = &secondFrameBuffer[FRAMEBUFFER_START + (OLED_WIDTH * 2)];
stripBackPointers[3] = &secondFrameBuffer[FRAMEBUFFER_START + (OLED_WIDTH * 3)];
#endif /* OLED_128x32 */
TickType_t totalDuration = TICKS_100MS * 5; // 500ms