diff options
Diffstat (limited to 'tmk_core/common/action_layer.c')
| -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 58d919a04..c6a166a82 100644 --- a/tmk_core/common/action_layer.c +++ b/tmk_core/common/action_layer.c | |||
| @@ -188,10 +188,10 @@ action_t store_or_get_action(bool pressed, keypos_t key) | |||
| 188 | 188 | ||
| 189 | int8_t layer_switch_get_layer(keypos_t key) | 189 | int8_t layer_switch_get_layer(keypos_t key) |
| 190 | { | 190 | { |
| 191 | #ifndef NO_ACTION_LAYER | ||
| 191 | action_t action; | 192 | action_t action; |
| 192 | action.code = ACTION_TRANSPARENT; | 193 | action.code = ACTION_TRANSPARENT; |
| 193 | 194 | ||
| 194 | #ifndef NO_ACTION_LAYER | ||
| 195 | uint32_t layers = layer_state | default_layer_state; | 195 | uint32_t layers = layer_state | default_layer_state; |
| 196 | /* check top layer first */ | 196 | /* check top layer first */ |
| 197 | for (int8_t i = 31; i >= 0; i--) { | 197 | for (int8_t i = 31; i >= 0; i--) { |
