Set up ring buffer overflow signalling and a little debugging.

This commit is contained in:
Jonathan Naylor 2016-01-14 19:15:39 +00:00
parent dd17a47972
commit d9b5f5753e
7 changed files with 45 additions and 6 deletions

10
IO.cpp
View file

@ -401,3 +401,13 @@ bool CIO::hasADCOverflow()
return overflow;
}
bool CIO::hasTXOverflow()
{
return m_txBuffer.hasOverflowed();
}
bool CIO::hasRXOverflow()
{
return m_rxBuffer.hasOverflowed();
}