From 4adfc6a6d8a77ca9526ec04e62c83ea88ffdddd7 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 23 Mar 2013 15:00:56 +0700 Subject: change signature usbh_isr to add tusb_bus_event_t parameter change singature of call_isr as well --- tinyusb/core/tusb_types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tinyusb/core') diff --git a/tinyusb/core/tusb_types.h b/tinyusb/core/tusb_types.h index d9750c279..aff92aebb 100644 --- a/tinyusb/core/tusb_types.h +++ b/tinyusb/core/tusb_types.h @@ -164,6 +164,11 @@ enum tusb_device_state_{ TUSB_DEVICE_STATE_SAFE_REMOVE , }; +typedef enum { + BUS_EVENT_XFER_COMPLETE, + BUS_EVENT_XFER_ERROR +}tusb_bus_event_t; + #ifdef __cplusplus } #endif -- cgit v1.3.1