mirror of
https://github.com/g4klx/MMDVMHost
synced 2026-02-05 06:05:42 +08:00
Upgrade the TFT Serial display driver and displayed information.
This commit is contained in:
@@ -514,11 +514,13 @@ void CMMDVMHost::createDisplay()
|
||||
LogInfo(" Type: %s", type.c_str());
|
||||
|
||||
if (type == "TFT Serial") {
|
||||
std::string port = m_conf.getTFTSerialPort();
|
||||
std::string port = m_conf.getTFTSerialPort();
|
||||
unsigned int brightness = m_conf.getTFTSerialBrightness();
|
||||
|
||||
LogInfo(" Port: %s", port.c_str());
|
||||
LogInfo(" Brightness: %s", brightness);
|
||||
|
||||
m_display = new CTFTSerial(port);
|
||||
m_display = new CTFTSerial(port, brightness);
|
||||
} else {
|
||||
m_display = new CNullDisplay;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user