From 326cbc0f05dff568f30ef39333cdeee79809b2be Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Apr 2015 09:28:42 -0600 Subject: [PATCH] SAMA5 EHCI: Fix some compile errors when debug is enabled --- arch/arm/src/sama5/sam_ehci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index 19dfecfd748..0db99b0fd54 100644 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -3390,7 +3390,7 @@ static int sam_epalloc(FAR struct usbhost_driver_s *drvr, usbhost_vtrace2(EHCI_VTRACE2_EPALLOC, epdesc->addr, epdesc->xfrtype); #else uvdbg("EP%d DIR=%s FA=%08x TYPE=%d Interval=%d MaxPacket=%d\n", - epdesc->addr, epdesc->in ? "IN" : "OUT", epdesc->funcaddr, + epdesc->addr, epdesc->in ? "IN" : "OUT", hport->funcaddr, epdesc->xfrtype, epdesc->interval, epdesc->mxpacketsize); #endif @@ -3663,7 +3663,7 @@ static int sam_ctrlin(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep0, uint16_t len; ssize_t nbytes; - DEBUGASSERT(rhport != NULL && epinfo != NULL && req != NULL); + DEBUGASSERT(rhport != NULL && ep0info != NULL && req != NULL); len = sam_read16(req->len);