[Bug] Use correct functions for RGB Matrix support in VIA (#19554)

This commit is contained in:
Drashna Jaelre 2023-01-09 19:21:38 -08:00 committed by GitHub
parent caca029e12
commit 90fd08bf4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -704,11 +704,11 @@ void via_qmk_rgb_matrix_set_value(uint8_t *data) {
break;
}
case id_qmk_rgb_matrix_effect_speed: {
rgblight_set_speed_noeeprom(value_data[0]);
rgb_matrix_set_speed_noeeprom(value_data[0]);
break;
}
case id_qmk_rgb_matrix_color: {
rgblight_sethsv_noeeprom(value_data[0], value_data[1], rgb_matrix_get_val());
rgb_matrix_sethsv_noeeprom(value_data[0], value_data[1], rgb_matrix_get_val());
break;
}
}