FastLED 3.10.6
Loading...
Searching...
No Matches

◆ firstDriverName()

fl::string autoresearch::flex_io::firstDriverName ( )
inline

Convenience — first non-empty driver name, or "<none>" if empty.

Definition at line 106 of file AutoResearchFlexIo.h.

106 {
107 auto names = registeredDriverNames();
108 if (names.empty()) {
109 return fl::string::from_literal("<none>");
110 }
111 return names[0];
112}
static string from_literal(const char *literal) FL_NO_EXCEPT
fl::vector< fl::string > registeredDriverNames() FL_NO_EXCEPT
Return the list of registered driver names.

References FL_NO_EXCEPT, fl::string::from_literal(), and registeredDriverNames().

Referenced by buildDeviceInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: