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

◆ getAnimationName()

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

Definition at line 242 of file animartrix.hpp.

242 {
243 for (const auto& entry : ANIMATION_TABLE) {
244 if (entry.anim == animation) {
245 return entry.name;
246 }
247 }
248 FASTLED_DBG("Animation not found for " << int(animation));
249 return "UNKNOWN";
250}
#define FASTLED_DBG(X)
Definition dbg.h:60
static const AnimartrixEntry ANIMATION_TABLE[]

References fl::ANIMATION_TABLE, and FASTLED_DBG.

Referenced by fxSet().

+ Here is the caller graph for this function: