preparation for PL18, differentiate between physical and UI screen size

adapt to partial draw calls from LVGL
This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 755617ae1a
commit 8d6a7c2da5
5 changed files with 42 additions and 28 deletions
+4 -2
View File
@@ -396,8 +396,10 @@ uint32_t pwrPressedDuration();;
const etx_serial_port_t* auxSerialGetPort(int port_nr);
// LCD driver
#define LCD_W 320
#define LCD_H 480
#define LCD_W 480
#define LCD_H 320
#define LCD_PHYS_W 320
#define LCD_PHYS_H 480
#define LCD_DEPTH 16
#define LCD_CONTRAST_DEFAULT 20
void lcdInit();