Skip to content

Commit

Permalink
cleaning up non-used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyatbluescape committed Sep 10, 2023
1 parent 6337a5f commit 6c1af34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyboards/bastardkb/charybdis/4x6/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ void shutdown_user(void) {

layer_state_t layer_state_set_user(layer_state_t state) {
uint8_t layer = get_highest_layer(state); // layer ID
uint8_t saturation = rgblight_get_sat(); // Current saturated color
uint8_t value = rgblight_get_val(); // Current brightness value
//uint8_t saturation = rgblight_get_sat(); // Current saturated color
//uint8_t value = rgblight_get_val(); // Current brightness value

if (layer == 1) {
rgb_matrix_mode_noeeprom(RGB_MATRIX_CUSTOM_layer_1_effect);
Expand Down

0 comments on commit 6c1af34

Please sign in to comment.