From 9619d1e4fff086b9bb29e0d69e1bce856f90b237 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 3 Mar 2020 10:14:06 +0900 Subject: fix: adjust layer not being sent properly over webusb --- tmk_core/common/action_layer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmk_core') diff --git a/tmk_core/common/action_layer.c b/tmk_core/common/action_layer.c index 08523185bc..bfcd724db1 100644 --- a/tmk_core/common/action_layer.c +++ b/tmk_core/common/action_layer.c @@ -99,10 +99,10 @@ __attribute__((weak)) layer_state_t layer_state_set_kb(layer_state_t state) { re * Sets the layer to match the specifed state (a bitmask) */ void layer_state_set(layer_state_t state) { + state = layer_state_set_kb(state); #ifdef ORYX_ENABLE layer_state_set_oryx(state); #endif - state = layer_state_set_kb(state); dprint("layer_state: "); layer_debug(); dprint(" to "); -- cgit v1.2.3