From 327519a5a602eb6cd99fc3d6fc52a7a98c2c552c Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 9 May 2013 13:48:11 +0700 Subject: refractor test try to add travis-ci --- tinyusb/host/usbh_hcd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tinyusb') diff --git a/tinyusb/host/usbh_hcd.h b/tinyusb/host/usbh_hcd.h index ec85fea89..fa676dfc9 100644 --- a/tinyusb/host/usbh_hcd.h +++ b/tinyusb/host/usbh_hcd.h @@ -67,7 +67,7 @@ #endif //--------------------------------------------------------------------+ -// USBH +// USBH-HCD common data structure //--------------------------------------------------------------------+ typedef struct ATTR_ALIGNED(4){ uint8_t core_id; @@ -106,7 +106,9 @@ typedef struct { // TODO internal structure, re-order members extern usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; // including zero-address -//------------- callback from HCD ISR-------------// +//--------------------------------------------------------------------+ +// callback from HCD ISR +//--------------------------------------------------------------------+ void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code, tusb_event_t event); void usbh_device_plugged_isr(uint8_t hostid); void usbh_device_unplugged_isr(uint8_t hostid); -- cgit v1.3.1