Skip to content

Commit 101b998

Browse files
drashnajackhumbert
authored andcommitted
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
1 parent 7b65b7e commit 101b998

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

common_features.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ ifeq ($(strip $(FAUXCLICKY_ENABLE)), yes)
7070
endif
7171

7272
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
73-
SRC += $(QUANTUM_DIR)/pointing_device.c
73+
OPT_DEFS += -DPOINTING_DEVICE_ENABLE
74+
SRC += $(QUANTUM_DIR)/pointing_device.c
7475
endif
7576

7677
ifeq ($(strip $(UCIS_ENABLE)), yes)

quantum/pointing_device.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2222
#include "host.h"
2323
#include "report.h"
2424

25-
void pointingdevice_init(void);
25+
void pointing_device_init(void);
2626
void pointing_device_task(void);
2727
void pointing_device_send(void);
2828
report_mouse_t pointing_device_get_report(void);

0 commit comments

Comments
 (0)