FastLED 3.9.15
Loading...
Searching...
No Matches

◆ validateExpectedEngines()

bool fl::validation::validateExpectedEngines ( )

Validate that at least one driver is registered with ChannelManager.

Returns
true if at least one driver is registered, false if empty

Definition at line 15 of file platform.cpp.hpp.

15 {
16 auto infos = channelManager().getDriverInfos();
17 return !infos.empty();
18}
fl::span< const DriverInfo > getDriverInfos() const FL_NOEXCEPT
Get full state of all registered drivers.
ChannelManager & channelManager()
Get the global ChannelManager singleton instance.

References fl::channelManager(), and fl::ChannelManager::getDriverInfos().

+ Here is the call graph for this function: