Start moving code out of webusb and to Oryx feature
This commit is contained in:
committed by
Florian Didron
parent
d3f23ecfbc
commit
e41ab50016
@@ -880,7 +880,6 @@ void webusb_send(uint8_t *data, uint8_t length) {
|
||||
}
|
||||
}
|
||||
|
||||
__attribute__((weak)) void webusb_receive_kb(uint8_t *data, uint8_t length) {
|
||||
// Users should #include "raw_hid.h" in their own code
|
||||
// and implement this function there. Leave this as weak linkage
|
||||
// so users can opt to not handle data coming in.
|
||||
|
||||
@@ -288,8 +288,6 @@ void webusb_send(uint8_t *data, uint8_t length) {
|
||||
Endpoint_ClearIN();
|
||||
}
|
||||
|
||||
__attribute__((weak)) void webusb_receive_kb(uint8_t *data, uint8_t length) { }
|
||||
|
||||
static void webusb_task(void) {
|
||||
// Create a temporary buffer to hold the read in data from the host
|
||||
uint8_t data[WEBUSB_EPSIZE];
|
||||
|
||||
Reference in New Issue
Block a user