summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authordrashna <drashna@live.com>2017-10-31 16:13:00 +0100
committerJack Humbert <jack.humb@gmail.com>2017-10-31 16:13:00 +0100
commit101b998ac2c6403c7917fbb283632879d7906294 (patch)
tree03478faa930cd9478f2f92192e28934b2c782a4d /common_features.mk
parent7b65b7e948a6d183d99be0c6e1c297bf2a9dbb14 (diff)
downloadqmk_firmware-101b998ac2c6403c7917fbb283632879d7906294.tar.gz
qmk_firmware-101b998ac2c6403c7917fbb283632879d7906294.tar.xz
Fix Pointing Device code (#1934)
* Fix pointer device options when the feature was added, the appropriate option definition wasn't created. This needs to be added to function properly. * Update common_features.mk * missing underscore in init function declaration
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk
index a7c366a10..3c77f588e 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -70,7 +70,8 @@ ifeq ($(strip $(FAUXCLICKY_ENABLE)), yes)
endif
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
- SRC += $(QUANTUM_DIR)/pointing_device.c
+ OPT_DEFS += -DPOINTING_DEVICE_ENABLE
+ SRC += $(QUANTUM_DIR)/pointing_device.c
endif
ifeq ($(strip $(UCIS_ENABLE)), yes)