summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodone
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodone')
-rw-r--r--keyboards/ergodone/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/ergodone/config.h b/keyboards/ergodone/config.h
index 2c764d782..815af357d 100644
--- a/keyboards/ergodone/config.h
+++ b/keyboards/ergodone/config.h
@@ -37,8 +37,8 @@
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
- keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
+ get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
+ get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
)
/* number of backlight levels */