Updating effect function api for future extensions

This commit is contained in:
Ryan Caltabiano 2019-03-25 19:13:30 -05:00
parent 8073da5dea
commit 161c4b21dc
21 changed files with 66 additions and 68 deletions

View file

@ -5,7 +5,7 @@
extern rgb_config_t rgb_matrix_config;
extern last_hit_t g_last_hit_tracker;
bool rgb_matrix_solid_reactive_simple(bool init, uint8_t iter) {
bool rgb_matrix_solid_reactive_simple(effect_params_t* params) {
RGB_MATRIX_USE_LIMITS(led_min, led_max);
HSV hsv = { rgb_matrix_config.hue, rgb_matrix_config.sat, 0 };