test
Dependents: Production_version1_0 Production_ver1_0 USBHost_TEST USBHost_Test5 ... more
Fork of USBHost by
Diff: USBHost/USBDeviceConnected.cpp
- Revision:
- 37:f1e388e7b752
- Parent:
- 24:868cbfe611a7
diff -r 655a8c5fa238 -r f1e388e7b752 USBHost/USBDeviceConnected.cpp --- a/USBHost/USBDeviceConnected.cpp Sun Apr 30 04:17:16 2017 +0000 +++ b/USBHost/USBDeviceConnected.cpp Thu Jul 20 10:13:56 2017 +0100 @@ -94,7 +94,7 @@ void USBDeviceConnected::disconnect() { for(int i = 0; i < MAX_INTF; i++) { - intf[i].detach.call(); + if (intf[i].detach) intf[i].detach.call(); } init(); }