memory corruption, typo addr-value
This commit is contained in:
parent
4cb1ba493b
commit
33cea5038f
@ -4230,7 +4230,10 @@ static void stm32_epin_disable(FAR struct stm32_ep_s *privep)
|
||||
|
||||
/* Clear the EPDISD interrupt indication */
|
||||
|
||||
stm32_putreg(OTG_DIEPINT_EPDISD, stm32_getreg(regaddr));
|
||||
regval = stm32_getreg(regaddr);
|
||||
regval |= OTG_DIEPINT_EPDISD;
|
||||
stm32_putreg(OTG_DIEPINT_EPDISD, regaddr);
|
||||
|
||||
|
||||
/* Flush any data remaining in the TxFIFO */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user