mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1696 from zolkko/master
STM32: Clear epComplete flag if a packet has been handled in the callbackpull/2822/head^2
commit
d6b422bd50
|
@ -367,7 +367,7 @@ void USBHAL::usbisr(void) {
|
|||
else {
|
||||
epComplete |= (1 << endpoint);
|
||||
if ((instance->*(epCallback[endpoint - 2]))()) {
|
||||
epComplete &= (1 << endpoint);
|
||||
epComplete &= ~(1 << endpoint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue