Switch the framebuffer address rather than using 2 LTDC layers

This commit is contained in:
Raphael Coeffic
2021-05-23 08:19:56 +02:00
committed by Raphael Coeffic
parent ec87e40c56
commit 95aa02cedd
7 changed files with 40 additions and 93 deletions
+6
View File
@@ -28,6 +28,12 @@ pixel_t scratchBuf[DISPLAY_BUFFER_SIZE];
BitmapBuffer _lcd(BMP_RGB565, LCD_W, LCD_H, displayBuf);
BitmapBuffer * lcd = &_lcd;
BitmapBuffer * lcdFront = &_lcd;
void lcdInit() {}
void lcdCopy(void *dest, void *src) {}
void lcdNextLayer() {}
void toplcdOff() {}
uint16_t * lcdGetScratchBuffer()
{