Switch the framebuffer address rather than using 2 LTDC layers
This commit is contained in:
committed by
Raphael Coeffic
parent
ec87e40c56
commit
95aa02cedd
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user