mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Add config option for Nextion display sizes
This commit is contained in:
parent
dc3fed940c
commit
94aa27cc4b
6 changed files with 19 additions and 4 deletions
|
|
@ -23,9 +23,10 @@
|
|||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
CNextion::CNextion(const std::string& callsign, unsigned int dmrid, const std::string& port, unsigned int brightness) :
|
||||
CNextion::CNextion(const std::string& callsign, unsigned int dmrid, const std::string& size, const std::string& port, unsigned int brightness) :
|
||||
m_callsign(callsign),
|
||||
m_dmrid(dmrid),
|
||||
m_size(size),
|
||||
m_serial(port, SERIAL_9600),
|
||||
m_brightness(brightness),
|
||||
m_mode(MODE_IDLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue