We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00062dd commit fb6a6acCopy full SHA for fb6a6ac
src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
@@ -216,19 +216,19 @@ void dcd_init(uint8_t rhport)
216
* Here, the RM is followed. */
217
218
for (volatile uint32_t i = 0; i < 200; i++) { // should be a few us
219
- __DSB();
+ asm("NOP");
220
}
221
// Perform USB peripheral reset
222
USB->CNTR = USB_CNTR_FRES | USB_CNTR_PDWN;
223
224
225
226
227
USB->CNTR &= ~USB_CNTR_PDWN;
228
229
// Wait startup time, for F042 and F070, this is <= 1 us.
230
231
232
233
USB->CNTR = 0; // Enable USB
234
0 commit comments