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
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
extern rgb_config_t rgb_matrix_config;
|
||||
|
||||
bool rgb_matrix_breathing(bool init, uint8_t iter) {
|
||||
bool rgb_matrix_breathing(effect_params_t* params) {
|
||||
RGB_MATRIX_USE_LIMITS(led_min, led_max);
|
||||
|
||||
uint16_t time = scale16by8(g_rgb_counters.tick, rgb_matrix_config.speed / 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue