Move simu LCD buffer to the right place
This commit is contained in:
committed by
Raphael Coeffic
parent
4b840c7e32
commit
4935ed991e
@@ -21,10 +21,6 @@
|
|||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if defined(SIMU)
|
|
||||||
pixel_t displayBuf[DISPLAY_BUFFER_SIZE];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
uint8_t getMappedChar(uint8_t c)
|
uint8_t getMappedChar(uint8_t c)
|
||||||
{
|
{
|
||||||
uint8_t result;
|
uint8_t result;
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD)
|
||||||
|
|
||||||
|
pixel_t displayBuf[DISPLAY_BUFFER_SIZE];
|
||||||
BitmapBuffer _lcd(BMP_RGB565, LCD_W, LCD_H, displayBuf);
|
BitmapBuffer _lcd(BMP_RGB565, LCD_W, LCD_H, displayBuf);
|
||||||
BitmapBuffer * lcd = &_lcd;
|
BitmapBuffer * lcd = &_lcd;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user