]> the.earth.li Git - temper-clone.git/commit
Do USB disconnect/reconnect dance before initialising USB
authorJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 07:04:53 +0000 (08:04 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 07:04:53 +0000 (08:04 +0100)
commitf259a83606c7e6692970cd0ec814a7414a481938
tree294c699561d19a209f8c17a494be2c65b167e0e3
parente1868033d66f127dda2db4c9d5f636e404b05b00
Do USB disconnect/reconnect dance before initialising USB

According to http://vusb.wikidot.com/driver-api the initial
usbDeviceDisconnect() / usbDeviceConnect() for enumeration should
be called before doing the usbInit(). Haven't seen problems as a
result, but do so.
main.c