diff options
author | Florian <fd@librem.one> | 2020-03-03 10:14:06 +0900 |
---|---|---|
committer | Florian <fd@librem.one> | 2020-03-03 10:14:06 +0900 |
commit | 9619d1e4fff086b9bb29e0d69e1bce856f90b237 (patch) | |
tree | fd0998ab6f8bce36d6c1c7f5afec5b2095d7fc4d | |
parent | 3cab0731b6a89d08115414b652b2df1c1abfc2fa (diff) |
fix: adjust layer not being sent properly over webusb
-rw-r--r-- | tmk_core/common/action_layer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 "); |