mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Add an FM lockout to add to the other modes.
This commit is contained in:
@@ -1486,7 +1486,7 @@ bool CMMDVMHost::createModem()
|
|||||||
m_modem->setM17Params(m17TXHang);
|
m_modem->setM17Params(m17TXHang);
|
||||||
m_modem->setAX25Params(rxTwist, ax25TXDelay, ax25SlotTime, ax25PPersist);
|
m_modem->setAX25Params(rxTwist, ax25TXDelay, ax25SlotTime, ax25PPersist);
|
||||||
|
|
||||||
if (m_fmEnabled) {
|
if (m_fmEnabled && m_modem->hasFM()) {
|
||||||
std::string callsign = m_conf.getFMCallsign();
|
std::string callsign = m_conf.getFMCallsign();
|
||||||
unsigned int callsignSpeed = m_conf.getFMCallsignSpeed();
|
unsigned int callsignSpeed = m_conf.getFMCallsignSpeed();
|
||||||
unsigned int callsignFrequency = m_conf.getFMCallsignFrequency();
|
unsigned int callsignFrequency = m_conf.getFMCallsignFrequency();
|
||||||
|
|||||||
Reference in New Issue
Block a user