203 {
204
205
206
207
215 << "' is not enabled and no enabled driver can take this strip - dropping frame. "
216 "Fix: FastLED.setDriverEnabled(\"" <<
wanted.getName().c_str()
217 << "\", true), or drop the setExclusiveDriver() that disabled it.");
218 return;
219 }
221 <<
"' is not enabled - falling back to '" <<
fallback->getName().c_str()
222 <<
"'. Fix: FastLED.setDriverEnabled(\"" <<
wanted.getName().c_str()
223 << "\", true), or name the enabled bus in addLeds<..., fl::Bus::X>().");
224 }
226
227
228
229
230 if (
mData->isInUse()) {
231 if (!
driver.waitForReady()) {
232 FL_WARN_ONCE(
"SlimBridgeController: driver '" <<
driver.getName().c_str() <<
"' did not become ready in time - dropping frame");
233 return;
234 }
235 }
236
237
238
243 } else {
245 }
246
252 FL_WARN_ONCE(
"SlimBridgeController: invalid encoded frame size - dropping frame");
253 return;
254 }
257
258
259
263 FL_WARN_ONCE(
"SlimBridgeController: cannot allocate encoded frame - dropping frame");
264 return;
265 }
266
267
268
270
271
272
279 FL_WARN_ONCE(
"SlimBridgeController: incomplete encoded frame - dropping frame");
280 return;
281 }
282
285 }
Rgbww getRgbww() const FL_NO_EXCEPT
VIRTUAL_IF_NOT_AVR int size() const FL_NO_EXCEPT
How many LEDs does this controller manage?
Rgbw getRgbw() const FL_NO_EXCEPT
virtual void onBeforeEncode(PixelController< RGB_ORDER > &pixels) FL_NO_EXCEPT
Called once per accepted frame, after the enabled/ready gates pass and BEFORE the frame is encoded an...
Shared legacy addLeds<>() bridge controller over an IChannelDriver.
#define FL_WARN_ONCE(...)
#define FL_WARN_EVERY(MILLIS,...)
auto reject_legacy_frame(int) FL_NO_EXCEPT -> decltype(Traits::rejectLegacyFrame(), void())
u8 channelPixelFormatBytesPerPixel(ChannelPixelFormat format) FL_NO_EXCEPT