Skip to content

Commit

Permalink
fix up with suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelus22 committed Dec 1, 2024
1 parent b992115 commit 4fd7cc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions quantum/led_matrix/led_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,3 @@ void led_matrix_set_flags(led_flags_t flags) {
void led_matrix_set_flags_noeeprom(led_flags_t flags) {
led_matrix_set_flags_eeprom_helper(flags, false);
}

#ifdef LED_MATRIX_DOUBLE_BUFFER
# undef led_matrix_driver
#endif
4 changes: 0 additions & 4 deletions quantum/rgb_matrix/rgb_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,3 @@ void rgb_matrix_set_flags(led_flags_t flags) {
void rgb_matrix_set_flags_noeeprom(led_flags_t flags) {
rgb_matrix_set_flags_eeprom_helper(flags, false);
}

#ifdef RGB_MATRIX_DOUBLE_BUFFER
# undef rgb_matrix_driver
#endif
6 changes: 1 addition & 5 deletions quantum/rgblight/rgblight.c
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ void rgblight_effect_twinkle(animation_status_t *anim) {

for (uint8_t i = 0; i < rgblight_ranges.effect_num_leds; i++) {
TwinkleState *t = &(led_twinkle_state[i]);
hsv_t *c = &(t->hsv);
hsv_t * c = &(t->hsv);

if (!random_color) {
c->h = rgblight_config.hue;
Expand Down Expand Up @@ -1496,7 +1496,3 @@ uint8_t rgblight_velocikey_match_speed(uint8_t minValue, uint8_t maxValue) {
}

#endif

#ifdef RGBLIGHT_DOUBLE_BUFFER
# undef rgblight_driver
#endif

0 comments on commit 4fd7cc7

Please sign in to comment.