From 6887e5e642c71666d622d28b52e1d32fea67982c Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 21 Nov 2013 12:47:55 +0700 Subject: refractor usbd-dcd callback, add bus event isr --- tinyusb/device/usbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/device/usbd.h') diff --git a/tinyusb/device/usbd.h b/tinyusb/device/usbd.h index e8e10e98b..d9b74c788 100644 --- a/tinyusb/device/usbd.h +++ b/tinyusb/device/usbd.h @@ -72,7 +72,7 @@ typedef struct { tusb_error_t (* const open)(uint8_t, tusb_descriptor_interface_t const *, uint16_t*); tusb_error_t (* const control_request) (uint8_t, tusb_control_request_t const *); void (* const isr) (endpoint_handle_t, tusb_event_t, uint32_t); - void (* const bus_reset) (uint8_t); + void (* const close) (uint8_t); } usbd_class_driver_t; //--------------------------------------------------------------------+ -- cgit v1.3.1