From 33474df0b571bc4a116b344075d16e87c9149300 Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Thu, 12 Mar 2015 03:05:14 -0400 Subject: [PATCH] fix CDC-ACM bug, ready not reset on ACM::Release() --- cdcacm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cdcacm.cpp b/cdcacm.cpp index 847f6490..5ccd244e 100644 --- a/cdcacm.cpp +++ b/cdcacm.cpp @@ -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;