mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
fix CDC-ACM bug, ready not reset on ACM::Release()
This commit is contained in:
parent
82f7088578
commit
33474df0b5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue