arch/arm/src/stm32f7/stm32_otghost.c: fix undeclared ret

This commit is contained in:
yangxuan8282 2022-08-19 15:17:52 +08:00 committed by Xiang Xiao
parent 2c42b93962
commit df6e3d1349

View File

@ -4684,6 +4684,7 @@ static ssize_t stm32_transfer(struct usbhost_driver_s *drvr,
struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr;
unsigned int chidx = (unsigned int)ep;
ssize_t nbytes;
int ret;
uinfo("chidx: %d buflen: %d\n", (unsigned int)ep, buflen);