FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator bool()

fl::SerialPort::operator bool ( ) const
explicit

Check if serial port is ready for I/O.

Returns
true if serial is initialized and ready

On most platforms, this always returns true.

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

130 {
131 return fl::serial_ready();
132}
bool serial_ready() FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, and fl::serial_ready().

+ Here is the call graph for this function: