diff options
author | Joel Challis <git@zvecr.com> | 2024-03-14 10:45:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 21:45:12 +1100 |
commit | 63dd131d812be4b8d4894fc20ca9968e25996b07 (patch) | |
tree | b51902172408e9325aef625034cbf8f6a92e55e0 /tmk_core/protocol/lufa/lufa.c | |
parent | 4bbfecae90e994b4a7d9bf5db06a995fb05d6ab2 (diff) |
Refactor vusb to protocol use pre/post task (#14944)
Diffstat (limited to 'tmk_core/protocol/lufa/lufa.c')
-rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 22cc0db8ce..d6f0c69b6b 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -151,7 +151,7 @@ __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { * * FIXME: Needs doc */ -static void raw_hid_task(void) { +void raw_hid_task(void) { // Create a temporary buffer to hold the read in data from the host uint8_t data[RAW_EPSIZE]; bool data_read = false; @@ -865,10 +865,6 @@ void protocol_post_task(void) { CDC_Device_USBTask(&cdc_device); #endif -#ifdef RAW_ENABLE - raw_hid_task(); -#endif - #if !defined(INTERRUPT_CONTROL_ENDPOINT) USB_USBTask(); #endif |