From d7ba86c85eb8cb5b15de53e503e75d04bf0cc836 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 23 Mar 2013 11:34:51 +0700 Subject: refractor - rename usbh_device_info_t.status to state - rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_* --- tinyusb/host/hcd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tinyusb/host/hcd.h') diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 98b5e5c5c..129a4640f 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -66,6 +66,11 @@ typedef struct { uint8_t index; } pipe_handle_t; +typedef enum { + BUS_XFER_COMPLETE, + BUS_XFER_ERROR +}usb_bus_event_t; + //--------------------------------------------------------------------+ // USBH-HCD API //--------------------------------------------------------------------+ -- cgit v1.3.1