FastLED 3.10.8
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 16 of file platform.cpp.hpp.

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

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

+ Here is the call graph for this function: