Skip to content

Commit

Permalink
add more hook point
Browse files Browse the repository at this point in the history
  • Loading branch information
mtei committed Jan 31, 2019
1 parent 450f661 commit 64592b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quantum/rgblight.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,13 @@ void rgblight_decrease_val(void) {
}
void rgblight_increase_speed(void) {
rgblight_config.speed = increment( rgblight_config.speed, 1, 0, 3 );
rgblight_update_hook(NULL, &rgblight_status, false);
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
}

void rgblight_decrease_speed(void) {
rgblight_config.speed = decrement( rgblight_config.speed, 1, 0, 3 );
rgblight_update_hook(NULL, &rgblight_status, false);
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
}

Expand Down

0 comments on commit 64592b0

Please sign in to comment.