|
FastLED 3.10.10
|
|
inline |
Enable one bus for the runtime FastLED.add(cfg) path.
Links only that bus's driver and defers constructing it until a channel first needs it. fl::Bus::AUTO names the platform default for Chipset. Returns *this, so calls chain:
add(cfg) warns, rather than linking every driver, when the channel's bus was not enabled. enableAllDrivers() remains the catch-all. Legacy compatibility: if no bus was ever enabled, an AUTO-bus add(cfg) registers the platform default driver for its chipset family (as 3.10.9 did). An explicit cfg.options.mBus still requires enable<>() or enableAllDrivers().
Definition at line 1042 of file FastLED.h.
References CFastLED(), fl::bindDriver(), enable(), and FL_NO_EXCEPT.
Referenced by enable().
Here is the call graph for this function:
Here is the caller graph for this function: