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

◆ getVariantIndex()

uint8_t getVariantIndex ( const fl::string & name)

Definition at line 566 of file FxNoiseRing.h.

566 {
567 for (int i = 0; i < 10; i++) {
568 if (variant_names[i] == name) {
569 return i;
570 }
571 }
572 return 0; // Default to first variant
573}
fl::string variant_names[10]

References variant_names.

Referenced by draw().

+ Here is the caller graph for this function: