mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Set up ring buffer overflow signalling and a little debugging.
This commit is contained in:
parent
dd17a47972
commit
d9b5f5753e
7 changed files with 45 additions and 6 deletions
10
IO.cpp
10
IO.cpp
|
|
@ -401,3 +401,13 @@ bool CIO::hasADCOverflow()
|
|||
return overflow;
|
||||
}
|
||||
|
||||
bool CIO::hasTXOverflow()
|
||||
{
|
||||
return m_txBuffer.hasOverflowed();
|
||||
}
|
||||
|
||||
bool CIO::hasRXOverflow()
|
||||
{
|
||||
return m_rxBuffer.hasOverflowed();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue