Updating effect function api for future extensions
This commit is contained in:
parent
8073da5dea
commit
161c4b21dc
21 changed files with 66 additions and 68 deletions
|
@ -5,7 +5,7 @@ extern rgb_counters_t g_rgb_counters;
|
|||
extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL];
|
||||
extern rgb_config_t rgb_matrix_config;
|
||||
|
||||
bool rgb_matrix_cycle_all(bool init, uint8_t iter) {
|
||||
bool rgb_matrix_cycle_all(effect_params_t* params) {
|
||||
RGB_MATRIX_USE_LIMITS(led_min, led_max);
|
||||
|
||||
HSV hsv = { 0, rgb_matrix_config.sat, rgb_matrix_config.val };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue