summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/arm_atsam/usb/conf_usb.h
diff options
context:
space:
mode:
authorfoxx1337 <foxx1337@yahoo.com>2020-03-26 03:34:57 +0100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commit694777041b1d08cca595cfcb65c5e7a8528ed1ba (patch)
tree9fa12d1ff470b33e539c65aeb9d8c465e72b59f2 /tmk_core/protocol/arm_atsam/usb/conf_usb.h
parenta4fcea7a9045d6f31ffaec3bb8131a7c11f29a70 (diff)
Add RawHID support to ATSAM (Massdrop boards) (#8530)
* Add support for RAW endpoint for arm_atsam This the excellent work from helluvamatt/qmk_firmware in bb6eeb93b. * Reformat arm_atsam RAW endpoint code Co-authored-by: Matt Schneeberger <helluvamatt@gmail.com>
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/conf_usb.h')
-rw-r--r--tmk_core/protocol/arm_atsam/usb/conf_usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/conf_usb.h b/tmk_core/protocol/arm_atsam/usb/conf_usb.h
index f23c2a80dd..f236427ca1 100644
--- a/tmk_core/protocol/arm_atsam/usb/conf_usb.h
+++ b/tmk_core/protocol/arm_atsam/usb/conf_usb.h
@@ -146,6 +146,7 @@
#ifdef RAW
# define UDI_HID_RAW_ENABLE_EXT() main_raw_enable()
# define UDI_HID_RAW_DISABLE_EXT() main_raw_disable()
+# define UDI_HID_RAW_RECEIVE(buffer, len) main_raw_receive(buffer, len)
#endif
//@}