mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Modify the 3.5" Nextion display to make it the same as the others.
This commit is contained in:
parent
92cf3ed203
commit
d474328c58
8 changed files with 10 additions and 33 deletions
|
|
@ -785,15 +785,13 @@ void CMMDVMHost::createDisplay()
|
|||
|
||||
m_display = new CTFTSerial(m_callsign, dmrid, port, brightness);
|
||||
} else if (type == "Nextion") {
|
||||
std::string size = m_conf.getNextionSize();
|
||||
std::string port = m_conf.getNextionPort();
|
||||
unsigned int brightness = m_conf.getNextionBrightness();
|
||||
|
||||
LogInfo(" Size: %s\"", size.c_str());
|
||||
LogInfo(" Port: %s", port.c_str());
|
||||
LogInfo(" Brightness: %u", brightness);
|
||||
|
||||
m_display = new CNextion(m_callsign, dmrid, size, port, brightness);
|
||||
m_display = new CNextion(m_callsign, dmrid, port, brightness);
|
||||
#if defined(HD44780)
|
||||
} else if (type == "HD44780") {
|
||||
unsigned int rows = m_conf.getHD44780Rows();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue