usb set value typo

This commit is contained in:
Lok Tep 2016-10-07 15:47:30 +02:00
parent bd08646768
commit 9e3479555d

View File

@ -4232,7 +4232,7 @@ static void stm32_epin_disable(FAR struct stm32_ep_s *privep)
regval = stm32_getreg(regaddr);
regval |= OTG_DIEPINT_EPDISD;
stm32_putreg(OTG_DIEPINT_EPDISD, regaddr);
stm32_putreg(regval, regaddr);
/* Flush any data remaining in the TxFIFO */