Handle sync-less data frames.

This commit is contained in:
Jonathan Naylor
2016-02-23 21:01:14 +00:00
parent 50314d27ae
commit 1d93f72b52
3 changed files with 37 additions and 7 deletions

View File

@@ -56,7 +56,8 @@ bool CYSFParrot::write(const unsigned char* data)
void CYSFParrot::end()
{
m_timer.start();
if (m_used > 0U)
m_timer.start();
m_ptr = 0U;
}