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

◆ framesRemaining()

int32_t fl::PixelStream::framesRemaining ( ) const

Definition at line 125 of file pixel_stream.cpp.

125 {
126 if (mbytesPerFrame == 0) return 0;
127 int32_t bytes_left = bytesRemaining();
128 if (bytes_left <= 0) {
129 return 0;
130 }
131 return bytes_left / mbytesPerFrame;
132}
int32_t bytesRemaining() const
int32_t mbytesPerFrame

References bytesRemaining(), and mbytesPerFrame.

Referenced by readFrame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: