- automatic binding to usb_event_callback removed
This commit is contained in:
parent
cb9a3c33ca
commit
a0d3b6f9c2
@ -118,9 +118,9 @@ int usb_cdc_process_and_return(USB_CallbackEvent *cbevt) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_event_callback(USB_CallbackEvent *cbevt) {
|
// void usb_event_callback(USB_CallbackEvent *cbevt) {
|
||||||
usb_cdc_process_and_return(cbevt);
|
// usb_cdc_process_and_return(cbevt);
|
||||||
}
|
// }
|
||||||
|
|
||||||
void usb_cdc_write(const uint8_t * data, uint32_t size) {
|
void usb_cdc_write(const uint8_t * data, uint32_t size) {
|
||||||
if (cdcs.initialized) {
|
if (cdcs.initialized) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user