1
0
Fork 0

Move common visualizer keyframes into visualizer_keyframes.h

This commit is contained in:
Fred Sundvik 2017-04-05 10:14:24 +03:00
parent 64d63ab422
commit b7041d06ae
7 changed files with 54 additions and 12 deletions

View file

@ -34,7 +34,7 @@ SOFTWARE.
#include "lcd_backlight.h"
#endif
// use this function to merget both real_mods and oneshot_mods in a uint16_t
// use this function to merge both real_mods and oneshot_mods in a uint16_t
uint8_t visualizer_get_mods(void);
// This need to be called once at the start
@ -126,10 +126,6 @@ void stop_keyframe_animation(keyframe_animation_t* animation);
// Useful for crossfades for example
void run_next_keyframe(keyframe_animation_t* animation, visualizer_state_t* state);
// Some predefined keyframe functions that can be used by the user code
// Does nothing, useful for adding delays
bool keyframe_no_operation(keyframe_animation_t* animation, visualizer_state_t* state);
// The master can set userdata which will be transferred to the slave
#ifdef VISUALIZER_USER_DATA_SIZE
void visualizer_set_user_data(void* user_data);