Start up stlinkv1 faster.
authorKarl Palsson <karlp@tweak.net.au>
Mon, 14 Nov 2011 03:52:19 +0000 (03:52 +0000)
committerKarl Palsson <karlp@tweak.net.au>
Mon, 14 Nov 2011 03:52:19 +0000 (03:52 +0000)
commite509310406ba4db9e88ce7c0ea2aad985cb25008
treeacc495306a7d192d0eba881956097a597611acea
parenta76c9ccfb34acf2fdca97db1a8e087e43a43d9b0
Start up stlinkv1 faster.

Now that we're not using sg, and we've told the kernel to ignore the device in
usb-mass storage, we don't need to close and wait 5 seconds.  We can just
immediately issue the command to switch modes.
src/stlink-sg.c