forked from GerhardHoffmann/DCLibraries
merge changes from T.Sax
This commit is contained in:
@@ -379,6 +379,11 @@ bool T_com::isPortOpen(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
void T_com::flushPort(void)
|
||||
{
|
||||
if (CatSerial->isOpen())
|
||||
CatSerial->clear();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user