fix CDC-ACM bug, ready not reset on ACM::Release()

This commit is contained in:
Andrew J. Kroll 2015-03-12 03:05:14 -04:00
parent 82f7088578
commit 33474df0b5

View file

@ -249,6 +249,7 @@ void ACM::EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto
}
uint8_t ACM::Release() {
ready = false;
pUsb->GetAddressPool().FreeAddress(bAddress);
bControlIface = 0;