MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ready()

void MayaFlux::Core::SerialTransport::ready ( Stream & port,
const EndpointInfo & info )
static

Definition at line 153 of file SerialBackend.cpp.

154{
155#if defined(MAYAFLUX_PLATFORM_WINDOWS)
156 PurgeComm(port.native_handle(), PURGE_RXCLEAR);
157#else
158 ::tcflush(port.native_handle(), TCIFLUSH);
159#endif
160}