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

◆ framesRemaining()

int32_t fl::PixelStream::framesRemaining ( ) const

Definition at line 126 of file pixel_stream.cpp.

126 {
127 if (mbytesPerFrame == 0)
128 return 0;
129 int32_t bytes_left = bytesRemaining();
130 if (bytes_left <= 0) {
131 return 0;
132 }
133 return bytes_left / mbytesPerFrame;
134}
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: