chore(color): support alternative LCD sizes (320x240, 800x480) (#6012)
This commit is contained in:
@@ -94,7 +94,7 @@ else()
|
||||
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
|
||||
endif()
|
||||
|
||||
set(BITMAPS_TARGET pl18_bitmaps)
|
||||
set(BITMAPS_TARGET bm480_bitmaps)
|
||||
set(FONTS_TARGET x12_fonts)
|
||||
set(LCD_DRIVER lcd_driver.cpp)
|
||||
set(TOUCH_DRIVER touch_driver.cpp)
|
||||
|
||||
@@ -944,16 +944,19 @@
|
||||
|
||||
#if defined(RADIO_NB4P) || defined(RADIO_NV14_FAMILY)
|
||||
#define PORTRAIT_LCD true
|
||||
#define LANDSCAPE_LCD false
|
||||
#define LANDSCAPE_LCD_STD false
|
||||
#define LCD_W 320
|
||||
#define LCD_H 480
|
||||
#else
|
||||
#define PORTRAIT_LCD false
|
||||
#define LANDSCAPE_LCD true
|
||||
#define LANDSCAPE_LCD_STD true
|
||||
#define LCD_W 480
|
||||
#define LCD_H 320
|
||||
#endif
|
||||
|
||||
#define LANDSCAPE_LCD_LRG false
|
||||
#define LANDSCAPE_LCD_SML false
|
||||
|
||||
#define LCD_PHYS_W 320
|
||||
#define LCD_PHYS_H 480
|
||||
|
||||
|
||||
Reference in New Issue
Block a user