aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/chibios
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2020-02-03 07:17:05 +1100
committerGitHub <noreply@github.com>2020-02-02 12:17:05 -0800
commitb2ce2f8a34fba72e4b4ac2fba0ec11431b0acb0c (patch)
tree58494d6dd519ac3b87b431188bd9b0e1b14befae /tmk_core/protocol/chibios
parent5b91c3e0a0dc8152f69130cf047f3df0d0f94421 (diff)
downloadqmk_firmware-b2ce2f8a34fba72e4b4ac2fba0ec11431b0acb0c.tar.gz
qmk_firmware-b2ce2f8a34fba72e4b4ac2fba0ec11431b0acb0c.zip
Dedupe extrakey report struct, and send functions in V-USB & LUFA (#7993)
* Dedupe extrakey report struct, and send functions in V-USB & LUFA * Doc comment for consistency * Wrap it in ifdef to prevent unused function error * Do the same for ATSAM
Diffstat (limited to 'tmk_core/protocol/chibios')
-rw-r--r--tmk_core/protocol/chibios/usb_main.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h
index cd2bb695b..17041b4f2 100644
--- a/tmk_core/protocol/chibios/usb_main.h
+++ b/tmk_core/protocol/chibios/usb_main.h
@@ -72,20 +72,6 @@ void mouse_in_cb(USBDriver *usbp, usbep_t ep);
72/* shared IN request callback handler */ 72/* shared IN request callback handler */
73void shared_in_cb(USBDriver *usbp, usbep_t ep); 73void shared_in_cb(USBDriver *usbp, usbep_t ep);
74 74
75/* ---------------
76 * Extrakey header
77 * ---------------
78 */
79
80#ifdef EXTRAKEY_ENABLE
81
82/* extra report structure */
83typedef struct {
84 uint8_t report_id;
85 uint16_t usage;
86} __attribute__((packed)) report_extra_t;
87#endif /* EXTRAKEY_ENABLE */
88
89/* -------------- 75/* --------------
90 * Console header 76 * Console header
91 * -------------- 77 * --------------