File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2015,2016 by Jonathan Naylor G4KLX
3
+ * Copyright (C) 2019 by Patrick Maier DK5MP
3
4
*
4
5
* This program is free software; you can redistribute it and/or modify
5
6
* it under the terms of the GNU General Public License as published by
@@ -156,17 +157,15 @@ bool CDMRCSBK::getOVCM() const
156
157
// "Unit to Unit Voice Service Request CSBK" and
157
158
// "Unit to Unit Voice Service Answer Response CSBK"
158
159
if ((m_CSBKO == CSBKO_UUVREQ) || (m_CSBKO == CSBKO_UUANSRSP))
159
- {
160
160
bOVCM = (m_data[2U ] & 0x04U ) == 0x04U ;
161
- }
161
+
162
162
return bOVCM;
163
163
}
164
164
165
165
void CDMRCSBK::setOVCM (bool ovcm)
166
166
{
167
167
// Set OVCM only in CSBKs having the service options information
168
- if ((m_CSBKO == CSBKO_UUVREQ) || (m_CSBKO == CSBKO_UUANSRSP))
169
- {
168
+ if ((m_CSBKO == CSBKO_UUVREQ) || (m_CSBKO == CSBKO_UUANSRSP)) {
170
169
if (ovcm)
171
170
m_data[2U ] |= 0x04U ;
172
171
else
You can’t perform that action at this time.
0 commit comments