|
|
@ -515,6 +515,7 @@ void rgb_matrix_toggle(void) {
|
|
|
|
rgb_matrix_config.enable++;
|
|
|
|
rgb_matrix_config.enable++;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
rgb_matrix_config.enable ^= 1;
|
|
|
|
rgb_matrix_config.enable ^= 1;
|
|
|
|
|
|
|
|
if (rgb_matrix_config.enable > 1) { rgb_matrix_config.enable = 0; } // make sure that if we are treating this as a bool, that it is only 1 or 0.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
if (!rgb_matrix_config.enable) {
|
|
|
|
if (!rgb_matrix_config.enable) {
|
|
|
|
rgb_task_state = STARTING;
|
|
|
|
rgb_task_state = STARTING;
|
|
|
|