mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 01:25:41 +08:00
Merge pull request #525 from dk5ras/dk5ras-OVCM-patch-1
Fix issue in DMRLC.cpp
This commit is contained in:
@@ -186,15 +186,15 @@ void CDMRLC::setFID(unsigned char fid)
|
||||
|
||||
bool CDMRLC::getOVCM() const
|
||||
{
|
||||
return (m_options & 0x20U) == 0x20U;
|
||||
return (m_options & 0x04U) == 0x04U;
|
||||
}
|
||||
|
||||
void CDMRLC::setOVCM(bool ovcm)
|
||||
{
|
||||
if (ovcm)
|
||||
m_options |= 0x20U;
|
||||
m_options |= 0x04U;
|
||||
else
|
||||
m_options &= 0xDFU;
|
||||
m_options &= 0xFBU;
|
||||
}
|
||||
|
||||
unsigned int CDMRLC::getSrcId() const
|
||||
|
||||
Reference in New Issue
Block a user