FastLED 3.9.15
Loading...
Searching...
No Matches

◆ flush()

bool fl::SerialPort::flush ( u32 timeoutMs = 1000)

Wait for serial output to complete.

Parameters
timeoutMsMaximum time to wait in milliseconds (default: 1000ms)
Returns
true if flush completed, false if timeout

Blocks until all buffered data is transmitted. Note: On platforms without buffering, this returns immediately.

Definition at line 129 of file serial.cpp.hpp.

129 {
130 return fl::flush(timeoutMs);
131}
bool flush(u32 timeoutMs)

References fl::flush().

+ Here is the call graph for this function: