Resolve the driver for this frame.
Mirrors Channel::resolveDynamicDriver() (channel.cpp.hpp), including the FASTLED_DISABLE_DYNAMIC_DRIVER gate – this controller never pre-binds a driver, so that gate simply drops every frame here, matching Channel::showPixels()'s non-pre-bound else branch under the same flag.
Definition at line 160 of file slim_spi_bridge_controller.h.
160 {
161#if defined(FASTLED_DISABLE_DYNAMIC_DRIVER) && FASTLED_DISABLE_DYNAMIC_DRIVER
162 return {};
163#else
164
168 }
169
172
173#if FASTLED_LOG_RUNTIME_ENABLED
175 FL_ERROR(
"SlimSpiBridgeController: no compatible driver found for bus '" <<
busKey <<
"' - cannot transmit");
177 }
178#endif
180#endif
181 }
static ChannelManager & registry() FL_NO_EXCEPT
Get the singleton WITHOUT registering platform default drivers.
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
const char * busDriverName(Bus b, fl::u8 which=0, bool spi=false) FL_NO_EXCEPT
Concrete ChannelManager driver name for a portable bus.
References fl::AUTO, fl::busDriverName(), FL_ERROR, fl::FL_NO_EXCEPT, fl::string::from_literal(), kBus, mData, fl::ChannelManager::registry(), and fl::ChannelManager::selectDriverForChannel().
Referenced by showPixels().