Add mode 4 (force off) for the DMR OVCM flag.

This commit is contained in:
Jonathan Naylor
2021-03-07 17:42:55 +00:00
parent 5537ebbb65
commit 5d8d1a3fb9
10 changed files with 61 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015,2016,2020 by Jonathan Naylor G4KLX
* Copyright (C) 2015,2016,2020,2021 by Jonathan Naylor G4KLX
* Copyright (C) 2019 by Patrick Maier DK5MP
*
* This program is free software; you can redistribute it and/or modify
@@ -189,6 +189,12 @@ void CDMRCSBK::setOVCM(bool ovcm)
}
}
void CDMRCSBK::clearOVCM()
{
if (getOVCM())
m_data[2U] ^= 0x04U;
}
bool CDMRCSBK::getGI() const
{
return m_GI;