diff options
author | tmk <hasu@tmk-kbd.com> | 2015-09-12 11:26:37 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-09-12 11:26:37 +0900 |
commit | a8d4daa7617c72cc32b5186271d4d35a7beffb82 (patch) | |
tree | 3c2d80802619151b300e333a62d5556be9599112 /tmk_core/common | |
parent | 0c21b263f9bc11e3999d7ea28e78d36663abf02c (diff) |
Fix parenthesis
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/action_code.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_code.h b/tmk_core/common/action_code.h index 32ef07216d..4fe9c1d581 100644 --- a/tmk_core/common/action_code.h +++ b/tmk_core/common/action_code.h @@ -266,7 +266,7 @@ enum layer_pram_tap_op { #define ACTION_LAYER_ON_OFF(layer) ACTION_LAYER_TAP((layer), OP_ON_OFF) #define ACTION_LAYER_OFF_ON(layer) ACTION_LAYER_TAP((layer), OP_OFF_ON) #define ACTION_LAYER_SET_CLEAR(layer) ACTION_LAYER_TAP((layer), OP_SET_CLEAR) -#define ACTION_LAYER_MODS(layer, mods) ACTION_LAYER_TAP((layer), 0xe0 | (mods)&0x0f) +#define ACTION_LAYER_MODS(layer, mods) ACTION_LAYER_TAP((layer), 0xe0 | ((mods)&0x0f)) /* With Tapping */ #define ACTION_LAYER_TAP_KEY(layer, key) ACTION_LAYER_TAP((layer), (key)) #define ACTION_LAYER_TAP_TOGGLE(layer) ACTION_LAYER_TAP((layer), OP_TAP_TOGGLE) |