mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Merge pull request #842 from f1rmb/f1rmb_fix_windows_build
Fix Windows build (few warnings and a wrong file descriptor comparison).
This commit is contained in:
@@ -1402,7 +1402,9 @@ bool CMMDVMHost::createModem()
|
||||
std::string uartPort = m_conf.getModemUARTPort();
|
||||
unsigned int uartSpeed = m_conf.getModemUARTSpeed();
|
||||
std::string i2cPort = m_conf.getModemI2CPort();
|
||||
#if defined(__linux__)
|
||||
unsigned int i2cAddress = m_conf.getModemI2CAddress();
|
||||
#endif
|
||||
std::string modemAddress = m_conf.getModemModemAddress();
|
||||
unsigned short modemPort = m_conf.getModemModemPort();
|
||||
std::string localAddress = m_conf.getModemLocalAddress();
|
||||
|
||||
Reference in New Issue
Block a user