Skip to content

Commit 221663c

Browse files
committed
Fix signatre of layer state change hooks
1 parent 5a364cb commit 221663c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/hook.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ void hook_matrix_change(keyevent_t event) {
3131
}
3232

3333
__attribute__((weak))
34-
void hook_default_layer_change(uint8_t layer_state) {
35-
(void)layer_state;
34+
void hook_default_layer_change(uint32_t default_layer_state) {
35+
(void)default_layer_state;
3636
}
3737

3838
__attribute__((weak))
39-
void hook_layer_change(uint8_t layer_state) {
39+
void hook_layer_change(uint32_t layer_state) {
4040
(void)layer_state;
4141
}
4242

0 commit comments

Comments
 (0)