summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-13 18:43:52 +0700
committerhathach <[email protected]>2014-03-13 18:43:52 +0700
commit958512a5bd4a0826bd32df7d3740256504ab90d6 (patch)
treef73b1440aee6a5ceddc92106a3295bfa3ddc5681 /tinyusb/host
parent6fbca0ea8731b7f50a895ae5c62fc2bbedde2550 (diff)
clean up more warnings
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/ohci/ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ohci/ohci.c b/tinyusb/host/ohci/ohci.c
index 197f3fb02..63b30e0ac 100644
--- a/tinyusb/host/ohci/ohci.c
+++ b/tinyusb/host/ohci/ohci.c
@@ -609,7 +609,7 @@ static void done_queue_isr(uint8_t hostid)
{
// TODO check if td_head is iso td
//------------- Non ISO transfer -------------//
- ohci_gtd_t * const p_qtd = (ohci_gtd_t * const) td_head;
+ ohci_gtd_t * const p_qtd = (ohci_gtd_t *) td_head;
tusb_event_t const event = (p_qtd->condition_code == OHCI_CCODE_NO_ERROR) ? TUSB_EVENT_XFER_COMPLETE :
(p_qtd->condition_code == OHCI_CCODE_STALL) ? TUSB_EVENT_XFER_STALLED : TUSB_EVENT_XFER_ERROR;