Resolve the driver for this frame.
176 {
177#if defined(FASTLED_DISABLE_DYNAMIC_DRIVER) && FASTLED_DISABLE_DYNAMIC_DRIVER
178 return {};
179#else
180#if defined(FL_IS_ESP32)
182
183
184
187 }
188#endif
189
193 }
194
197
198#if FASTLED_LOG_RUNTIME_ENABLED
201 <<
"' - dropping frame. Fix: FastLED.setDriverEnabled(\"" <<
busKey
202 << "\", true) or FastLED.enableAllDrivers().");
204 FL_WARN_EVERY(1000,
"addLeds: driver '" <<
busKey <<
"' is not enabled - falling back to '"
205 <<
driver->getName() <<
"'. Fix: FastLED.setDriverEnabled(\"" <<
busKey
206 << "\", true), or name the enabled bus in addLeds<..., fl::Bus::X>().");
207 }
208#endif
210#endif
211 }
static ChannelManager & registry() FL_NO_EXCEPT
Get the singleton WITHOUT registering platform default drivers.
fl::shared_ptr< IChannelDriver > findDriverByName(const fl::string &name) const FL_NO_EXCEPT
Silent counterpart to getDriverByName().
fl::shared_ptr< IChannelDriver > selectDriverForChannel(const ChannelDataPtr &data, const fl::string &affinity) FL_NO_EXCEPT
Select best driver for channel data (used by Channel::showPixels)
static constexpr Bus kBus
The bus actually used after resolving Bus::AUTO – mirrors TypedChannel<B, SpiChipsetConfig,...
Shared legacy addLeds<ESPIChipsets ...>() bridge controller over an IChannelDriver,...
static string from_literal(const char *literal) FL_NO_EXCEPT
#define FL_WARN_EVERY(MILLIS,...)
const char * busDriverName(Bus b, fl::u8 which=0, bool spi=false) FL_NO_EXCEPT
Concrete ChannelManager driver name for a portable bus.