summaryrefslogtreecommitdiff
path: root/tinyusb/host/usbh.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-23 15:00:56 +0700
committerhathach <[email protected]>2013-03-23 15:00:56 +0700
commit4adfc6a6d8a77ca9526ec04e62c83ea88ffdddd7 (patch)
tree9c3283c4317d3e8b9bfc536c5b59a1ef622b2619 /tinyusb/host/usbh.h
parente6b8166a581d5016a2fa0c9f8bbca22bcb6b6bba (diff)
change signature usbh_isr to add tusb_bus_event_t parameter
change singature of call_isr as well
Diffstat (limited to 'tinyusb/host/usbh.h')
-rw-r--r--tinyusb/host/usbh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/host/usbh.h b/tinyusb/host/usbh.h
index 1dae917f6..901a0f056 100644
--- a/tinyusb/host/usbh.h
+++ b/tinyusb/host/usbh.h
@@ -106,9 +106,9 @@ typedef uint8_t tusbh_device_status_t;
typedef struct {
void (* const init) (void);
tusb_error_t (* const open_subtask)(uint8_t, uint8_t const *, uint16_t*);
- void (* const isr) (pipe_handle_t);
+ void (* const isr) (pipe_handle_t, tusb_bus_event_t);
void (* const close) (uint8_t);
-} class_driver_t;
+} host_class_driver_t;
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+