Rewrite the OVCM handling.

This commit is contained in:
Jonathan Naylor
2022-05-23 22:35:14 +01:00
parent 33939d8cf5
commit fe195c4e40
6 changed files with 51 additions and 68 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015,2016,2019,2021 by Jonathan Naylor G4KLX
* Copyright (C) 2015,2016,2019,2021,2022 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -193,12 +193,8 @@ void CDMRLC::setOVCM(bool ovcm)
{
if (ovcm)
m_options |= 0x04U;
}
void CDMRLC::clearOVCM()
{
if (getOVCM())
m_options ^= 0x04U;
else
m_options &= 0xFBU;
}
unsigned int CDMRLC::getSrcId() const