mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Make m_dcd global variable and save extra function
This commit is contained in:
parent
e3f35e0875
commit
230fab308c
6 changed files with 6 additions and 10 deletions
6
IO.cpp
6
IO.cpp
|
|
@ -61,7 +61,6 @@ m_ysfTXLevel(128 * 128),
|
|||
m_p25TXLevel(128 * 128),
|
||||
m_ledCount(0U),
|
||||
m_ledValue(true),
|
||||
m_dcd(false),
|
||||
m_detect(false),
|
||||
m_adcOverflow(0U),
|
||||
m_dacOverflow(0U),
|
||||
|
|
@ -312,11 +311,6 @@ void CIO::setDecode(bool dcd)
|
|||
m_dcd = dcd;
|
||||
}
|
||||
|
||||
bool CIO::getDecode()
|
||||
{
|
||||
return m_dcd;
|
||||
}
|
||||
|
||||
void CIO::setADCDetection(bool detect)
|
||||
{
|
||||
m_detect = detect;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue