common_features.mk: invert QMK_SETTINGS logic around MOUSEKEY_ENABLE

this handles cases where MOUSEKEY_ENABLE isn't defined at all
This commit is contained in:
Ilya Zhuravlev 2021-09-16 20:04:44 -04:00
parent d95d02137c
commit 8cf9363c6d

View File

@ -517,7 +517,7 @@ ifeq ($(strip $(DYNAMIC_KEYMAP_ENABLE)), yes)
endif
ifeq ($(strip $(QMK_SETTINGS)), yes)
ifeq ($(strip $(MOUSEKEY_ENABLE)), no)
ifneq ($(strip $(MOUSEKEY_ENABLE)), yes)
$(error QMK_SETTINGS requires MOUSEKEY_ENABLE, either disable QMK_SETTINGS explicitly or enable MOUSEKEY_ENABLE)
endif
AUTO_SHIFT_ENABLE := yes