MCPcopy Create free account
hub / github.com/FastLED/FastLED / poll

Method poll

tests/fl/channels/channel_manager.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 DriverState poll() override {
94 if (mShouldFail) {
95 return DriverState::ERROR;
96 }
97 // Fake implementation: always return READY (transmission completes instantly)
98 if (!mTransmittingChannels.empty()) {
99 mTransmittingChannels.clear();
100 }
101 return DriverState::READY;
102 }
103
104private:
105 void beginTransmission(fl::span<const ChannelDataPtr> channels) {

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 2

emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected