summaryrefslogtreecommitdiffstats
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
committerGitHub <noreply@github.com>2020-03-26 02:34:57 +0000
commit96bfce70009ac15f21e440fd3894e6c11e1b7615 (patch)
treec9450b02e7b3fa8971d93007290b90d394663718 /tmk_core/protocol/arm_atsam/usb/conf_usb.h
parentd68c4d810634f5ffcb29c38d57b16bc72faf45dc (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
//@}