Merge pull request #525 from dk5ras/dk5ras-OVCM-patch-1

Fix issue in DMRLC.cpp
This commit is contained in:
Jonathan Naylor 2019-10-15 12:14:37 +01:00 committed by GitHub
commit 56298d14c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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