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

◆ empty()

template<fl::size DescriptorCount, fl::size ArenaSize>
bool fl::AsyncLogQueue< DescriptorCount, ArenaSize >::empty ( ) const

Check if queue is empty.

Definition at line 109 of file async_log_queue.cpp.hpp.

109 {
110 return loadHead() == mTail;
111}
volatile fl::u32 mTail
Consumer read position (descriptor ring)
fl::u32 loadHead() const FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, loadHead(), and mTail.

+ Here is the call graph for this function: