Skip to content

Commit

Permalink
Fix IS_COMMAND define
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Nov 3, 2018
1 parent 3e0bc20 commit 3756601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/common/command.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ bool command_proc(uint8_t code);
#endif

#ifndef IS_COMMAND
#define IS_COMMAND() (keyboard_report->mods == MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))
#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
#endif

#ifndef MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
Expand Down

0 comments on commit 3756601

Please sign in to comment.