mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Better usage of display with DVMega
This commit is contained in:
parent
f31a8815cb
commit
5735209394
4 changed files with 36 additions and 19 deletions
2
Conf.cpp
2
Conf.cpp
|
|
@ -357,7 +357,7 @@ bool CConf::read()
|
|||
else if (::strcmp(key, "PWMDim") == 0)
|
||||
m_hd44780PWMDim = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "DVMegaDisplay") == 0)
|
||||
m_hd44780DVMegaDisplay = (unsigned int)::atoi(value);
|
||||
m_hd44780DVMegaDisplay = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "Pins") == 0) {
|
||||
char* p = ::strtok(value, ",\r\n");
|
||||
while (p != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue