mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
TFTSurenoo: add 240x320 panel support
to support 240x320 panel, add ScreenLayout property at [TFT Serial] section in MMDVM.ini ScreenLayout=0 160x128 (default) ScreenLayout=1 128x160 ScreenLayout=2 320x240 ScreenLayout=1 240x320 (landscape layout is recommended)
This commit is contained in:
2
Conf.h
2
Conf.h
@@ -325,6 +325,7 @@ public:
|
||||
// The TFTSERIAL section
|
||||
std::string getTFTSerialPort() const;
|
||||
unsigned int getTFTSerialBrightness() const;
|
||||
unsigned int getTFTSerialScreenLayout() const;
|
||||
|
||||
// The HD44780 section
|
||||
unsigned int getHD44780Rows() const;
|
||||
@@ -642,6 +643,7 @@ private:
|
||||
|
||||
std::string m_tftSerialPort;
|
||||
unsigned int m_tftSerialBrightness;
|
||||
unsigned int m_tftSerialScreenLayout;
|
||||
|
||||
unsigned int m_hd44780Rows;
|
||||
unsigned int m_hd44780Columns;
|
||||
|
||||
Reference in New Issue
Block a user