From 1423e1735708a9fef58252afffd2f2b312cfa337 Mon Sep 17 00:00:00 2001 From: Bert Burgemeister Date: Mon, 13 Mar 2017 11:14:16 +0100 Subject: [PATCH] Fix a name conflict Macro layer_state collided with a function parameter. --- tmk_core/common/hook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/common/hook.h b/tmk_core/common/hook.h index 56fe567774..b17a81a9bb 100644 --- a/tmk_core/common/hook.h +++ b/tmk_core/common/hook.h @@ -66,7 +66,7 @@ void hook_default_layer_change(uint32_t default_layer_state); /* Called on layer state change event. */ /* Default behaviour: do nothing. */ -void hook_layer_change(uint32_t layer_state); +void hook_layer_change(uint32_t l_state); /* Called on indicator LED update event (when reported from host). */ /* Default behaviour: calls keyboard_set_leds. */