mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Add mode 4 (force off) for the DMR OVCM flag.
This commit is contained in:
parent
5537ebbb65
commit
5d8d1a3fb9
10 changed files with 61 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2015,2016,2019 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2015,2016,2019,2021 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
|
||||
|
|
@ -195,6 +195,12 @@ void CDMRLC::setOVCM(bool ovcm)
|
|||
m_options |= 0x04U;
|
||||
}
|
||||
|
||||
void CDMRLC::clearOVCM()
|
||||
{
|
||||
if (getOVCM())
|
||||
m_options ^= 0x04U;
|
||||
}
|
||||
|
||||
unsigned int CDMRLC::getSrcId() const
|
||||
{
|
||||
return m_srcId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue