apps/examples/composite: Bug fix. Wrong handle being nullified. From David Sidrane
This commit is contained in:
parent
cdd15a12f6
commit
bfcc6ae4d7
@ -728,4 +728,6 @@
|
||||
driver features. From Ken Pettit (2013-11-1).
|
||||
* apps/nshlib/nsh.h: Allow USB trace wihtout a USB console. From
|
||||
David Sidrane (2013-11-06).
|
||||
* apps/system/composite/composite_main.c: The wrong handle was getting
|
||||
nullified. From David Sidrane (2013-11-7).
|
||||
|
||||
|
@ -840,7 +840,7 @@ int disconn_main(int argc, char *argv[])
|
||||
/* Then disconnect the device and uninitialize the USB mass storage driver */
|
||||
|
||||
composite_uninitialize(g_composite.cmphandle);
|
||||
g_composite.mschandle = NULL;
|
||||
g_composite.cmphandle = NULL;
|
||||
message("disconn_main: Disconnected\n");
|
||||
check_test_memory_usage("After composite_uninitialize()");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user