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

◆ getAnimationName()

const char * fl::Animartrix::getAnimationName ( AnimartrixAnim animation)
staticprivate

Definition at line 253 of file animartrix.hpp.

253 {
254 for (const auto &entry : ANIMATION_TABLE) {
255 if (entry.anim == animation) {
256 return entry.name;
257 }
258 }
259 FASTLED_DBG("Animation not found for " << int(animation));
260 return "UNKNOWN";
261}
#define FASTLED_DBG(X)
Definition dbg.h:57
static const AnimartrixEntry ANIMATION_TABLE[]

References fl::ANIMATION_TABLE, and FASTLED_DBG.

Referenced by fxSet().

+ Here is the caller graph for this function: