arch/arm/src/stm32f7/stm32_otghost.c: fix undeclared ret
This commit is contained in:
parent
2c42b93962
commit
df6e3d1349
@ -4684,6 +4684,7 @@ static ssize_t stm32_transfer(struct usbhost_driver_s *drvr,
|
|||||||
struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr;
|
struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr;
|
||||||
unsigned int chidx = (unsigned int)ep;
|
unsigned int chidx = (unsigned int)ep;
|
||||||
ssize_t nbytes;
|
ssize_t nbytes;
|
||||||
|
int ret;
|
||||||
|
|
||||||
uinfo("chidx: %d buflen: %d\n", (unsigned int)ep, buflen);
|
uinfo("chidx: %d buflen: %d\n", (unsigned int)ep, buflen);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user