mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Add the callsign and DMR Id to the TFT Serial.
This commit is contained in:
parent
409c1e5154
commit
ad1b30341d
4 changed files with 19 additions and 9 deletions
|
|
@ -566,7 +566,7 @@ void CMMDVMHost::readParams()
|
|||
|
||||
void CMMDVMHost::createDisplay()
|
||||
{
|
||||
std::string type = m_conf.getDisplay();
|
||||
std::string type = m_conf.getDisplay();
|
||||
std::string callsign = m_conf.getCallsign();
|
||||
unsigned int dmrid = m_conf.getDMRId();
|
||||
|
||||
|
|
@ -580,7 +580,7 @@ void CMMDVMHost::createDisplay()
|
|||
LogInfo(" Port: %s", port.c_str());
|
||||
LogInfo(" Brightness: %u", brightness);
|
||||
|
||||
m_display = new CTFTSerial(port, brightness);
|
||||
m_display = new CTFTSerial(callsign.c_str(), dmrid, port, brightness);
|
||||
} else if (type == "Nextion") {
|
||||
std::string port = m_conf.getNextionPort();
|
||||
unsigned int brightness = m_conf.getNextionBrightness();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue