FastLED 3.10.9
Loading...
Searching...
No Matches

◆ isInUse()

bool fl::ChannelData::isInUse ( ) const
inline

Check if channel data is currently in use by the driver.

Returns
true if driver is transmitting this data, false otherwise

Definition at line 129 of file data.h.

129{ return mInUse.load(fl::memory_order_acquire); }
fl::atomic_bool mInUse
Engine is transmitting this data (prevents creator updates)
Definition data.h:195
@ memory_order_acquire
Definition atomic.h:41

References fl::FL_NO_EXCEPT, fl::memory_order_acquire, and mInUse.