Fix bugs that cause compile failures when enabling only some animations.
This commit is contained in:
parent
cb33643f02
commit
2ffa4798a4
2 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,7 @@ void eeconfig_update_rgb_matrix(uint32_t val) {
|
||||||
void eeconfig_update_rgb_matrix_default(void) {
|
void eeconfig_update_rgb_matrix_default(void) {
|
||||||
dprintf("eeconfig_update_rgb_matrix_default\n");
|
dprintf("eeconfig_update_rgb_matrix_default\n");
|
||||||
rgb_matrix_config.enable = 1;
|
rgb_matrix_config.enable = 1;
|
||||||
#ifndef DISABLE_RGB_MATRIX_CYCLE_ALL
|
#ifndef DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||||
rgb_matrix_config.mode = RGB_MATRIX_CYCLE_LEFT_RIGHT;
|
rgb_matrix_config.mode = RGB_MATRIX_CYCLE_LEFT_RIGHT;
|
||||||
#else
|
#else
|
||||||
// fallback to solid colors if RGB_MATRIX_CYCLE_LEFT_RIGHT is disabled in userspace
|
// fallback to solid colors if RGB_MATRIX_CYCLE_LEFT_RIGHT is disabled in userspace
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifndef DISABLE_RGB_MATRIX_BREATHING
|
#ifndef DISABLE_RGB_MATRIX_BREATHING
|
||||||
|
|
||||||
|
extern rgb_counters_t g_rgb_counters;
|
||||||
extern rgb_config_t rgb_matrix_config;
|
extern rgb_config_t rgb_matrix_config;
|
||||||
|
|
||||||
bool rgb_matrix_breathing(effect_params_t* params) {
|
bool rgb_matrix_breathing(effect_params_t* params) {
|
||||||
|
|
Loading…
Reference in a new issue