|
FastLED 3.9.15
|
Declaration of fl::enableAllDrivers() — enrolls every channel driver available on the current platform into ChannelManager.
The definition lives out-of-line in platforms/channel_drivers.impl.cpp.hpp (linked into libfastled), so calling FastLED.enableAllDrivers() or fl::enableAllDrivers() no longer requires any "magic include" at the call site — <FastLED.h> is enough.
Tree-shaking. -Wl,--gc-sections (the default for every embedded toolchain FastLED supports) drops the enableAllDrivers() TU when no sketch references it. That transitively drops every BusTraits<B>::registerWithManager() / instancePtr() and each platform driver's factory — the binary-size fix from #2428 is preserved structurally rather than by convention. Including this header is harmless but no longer required.
Definition in file all_drivers.h.
#include "fl/stl/compiler_control.h"
Include dependency graph for all_drivers.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
Functions | |
| void | fl::enableAllDrivers () FL_NOEXCEPT |
Register every channel driver available on this platform with ChannelManager, restoring 3.10.3-style runtime driver selection. | |