mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Rename SimpleMode to LinkMode.
This commit is contained in:
parent
ded46ebb60
commit
cb89b34a39
7 changed files with 21 additions and 21 deletions
12
Modem.cpp
12
Modem.cpp
|
|
@ -244,7 +244,7 @@ m_fmCtcssLevel(10.0F),
|
|||
m_fmKerchunkTime(0U),
|
||||
m_fmHangTime(5U),
|
||||
m_fmAccessMode(1U),
|
||||
m_fmSimpleMode(false),
|
||||
m_fmLinkMode(false),
|
||||
m_fmCOSInvert(false),
|
||||
m_fmNoiseSquelch(false),
|
||||
m_fmSquelchHighThreshold(30U),
|
||||
|
|
@ -2668,7 +2668,7 @@ void CModem::setFMAckParams(const std::string& rfAck, unsigned int ackSpeed, uns
|
|||
m_fmAckLevel = ackLevel;
|
||||
}
|
||||
|
||||
void CModem::setFMMiscParams(unsigned int timeout, float timeoutLevel, float ctcssFrequency, unsigned int ctcssHighThreshold, unsigned int ctcssLowThreshold, float ctcssLevel, unsigned int kerchunkTime, unsigned int hangTime, unsigned int accessMode, bool simpleMode, bool cosInvert, bool noiseSquelch, unsigned int squelchHighThreshold, unsigned int squelchLowThreshold, unsigned int rfAudioBoost, float maxDevLevel)
|
||||
void CModem::setFMMiscParams(unsigned int timeout, float timeoutLevel, float ctcssFrequency, unsigned int ctcssHighThreshold, unsigned int ctcssLowThreshold, float ctcssLevel, unsigned int kerchunkTime, unsigned int hangTime, unsigned int accessMode, bool linkMode, bool cosInvert, bool noiseSquelch, unsigned int squelchHighThreshold, unsigned int squelchLowThreshold, unsigned int rfAudioBoost, float maxDevLevel)
|
||||
{
|
||||
m_fmTimeout = timeout;
|
||||
m_fmTimeoutLevel = timeoutLevel;
|
||||
|
|
@ -2682,9 +2682,9 @@ void CModem::setFMMiscParams(unsigned int timeout, float timeoutLevel, float ctc
|
|||
|
||||
m_fmHangTime = hangTime;
|
||||
|
||||
m_fmAccessMode = accessMode;
|
||||
m_fmSimpleMode = simpleMode;
|
||||
m_fmCOSInvert = cosInvert;
|
||||
m_fmAccessMode = accessMode;
|
||||
m_fmLinkMode = linkMode;
|
||||
m_fmCOSInvert = cosInvert;
|
||||
|
||||
m_fmNoiseSquelch = noiseSquelch;
|
||||
m_fmSquelchHighThreshold = squelchHighThreshold;
|
||||
|
|
@ -2836,7 +2836,7 @@ bool CModem::setFMMiscParams()
|
|||
buffer[10U] = m_fmHangTime;
|
||||
|
||||
buffer[11U] = m_fmAccessMode & 0x0FU;
|
||||
if (m_fmSimpleMode)
|
||||
if (m_fmLinkMode)
|
||||
buffer[11U] |= 0x20U;
|
||||
if (m_fmNoiseSquelch)
|
||||
buffer[11U] |= 0x40U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue