Skip to content

Commit

Permalink
Change uint32_t to layer_state_t
Browse files Browse the repository at this point in the history
[Bug] Develop - Change uint32_t to layer_state_t qmk#13596
  • Loading branch information
monksoffunk committed Oct 23, 2021
1 parent 614e0b5 commit 2d760eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/25keys/attack25/rev1/rev1.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ void rgb_matrix_indicators_kb(void) {
}
}
#elif RGBLIGHT_ENABLE
layer_state_t layer_state_set_kb(uint32_t state) {
layer_state_t layer_state_set_kb(layer_state_t state) {
if (user_config.mac_mode) {
rgblight_set_layer_state(0, layer_state_cmp(state | default_layer_state, _NUMOFF));
}
Expand Down
2 changes: 1 addition & 1 deletion keyboards/25keys/attack25/rev3/rev3.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
}

#ifdef RGBLIGHT_ENABLE
layer_state_t layer_state_set_kb(uint32_t state) {
layer_state_t layer_state_set_kb(layer_state_set_kb state) {
dprintf("layer_state %08lX(%u)\n", layer_state, get_highest_layer(layer_state));
dprintf("default_layer_state %08lX(%u)\n", default_layer_state, get_highest_layer(default_layer_state));

Expand Down

0 comments on commit 2d760eb

Please sign in to comment.