Locates animation memory slot using default settings for the animation Initiates animation to process on the next cycle Returns 1 on success, 0 on failure to allocate
| 892 | // Initiates animation to process on the next cycle |
| 893 | // Returns 1 on success, 0 on failure to allocate |
| 894 | uint8_t Pixel_addDefaultAnimation( uint32_t index ) |
| 895 | { |
| 896 | if ( index >= Pixel_AnimationSettingsNum_KLL ) |
| 897 | { |
| 898 | warn_print("Invalid AnimationSetting index: "); |
| 899 | printInt32( index ); |
| 900 | print( NL ); |
| 901 | return 0; |
| 902 | } |
| 903 | |
| 904 | return Pixel_addAnimation( (AnimationStackElement*)&Pixel_AnimationSettings[ index ], CapabilityState_None ); |
| 905 | } |
| 906 | |
| 907 | // Allocates animaton memory slot |
| 908 | // Initiates animation to process on the next cycle |
nothing calls this directly
no test coverage detected
searching dependent graphs…