diff options
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/main_usb.c')
-rw-r--r-- | tmk_core/protocol/arm_atsam/usb/main_usb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/main_usb.c b/tmk_core/protocol/arm_atsam/usb/main_usb.c index 82ab123fd0..3809e1fd02 100644 --- a/tmk_core/protocol/arm_atsam/usb/main_usb.c +++ b/tmk_core/protocol/arm_atsam/usb/main_usb.c @@ -18,6 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "samd51j18a.h" #include "conf_usb.h" #include "udd.h" +#ifdef RAW +# include "raw_hid.h" +#endif uint8_t keyboard_protocol = 1; @@ -89,4 +92,6 @@ bool main_raw_enable(void) { } void main_raw_disable(void) { main_b_raw_enable = false; } + +void main_raw_receive(uint8_t *buffer, uint8_t len) { raw_hid_receive(buffer, len); } #endif |