diff options
author | drashna <drashna@live.com> | 2017-10-31 08:13:00 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 11:13:00 -0400 |
commit | 101b998ac2c6403c7917fbb283632879d7906294 (patch) | |
tree | 03478faa930cd9478f2f92192e28934b2c782a4d | |
parent | 7b65b7e948a6d183d99be0c6e1c297bf2a9dbb14 (diff) | |
download | qmk_firmware-101b998ac2c6403c7917fbb283632879d7906294.tar.gz qmk_firmware-101b998ac2c6403c7917fbb283632879d7906294.zip |
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
-rw-r--r-- | common_features.mk | 3 | ||||
-rw-r--r-- | quantum/pointing_device.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index a7c366a109..3c77f588ed 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) diff --git a/quantum/pointing_device.h b/quantum/pointing_device.h index 40d71f7419..1944d82065 100644 --- a/quantum/pointing_device.h +++ b/quantum/pointing_device.h @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "host.h" #include "report.h" -void pointingdevice_init(void); +void pointing_device_init(void); void pointing_device_task(void); void pointing_device_send(void); report_mouse_t pointing_device_get_report(void); |