From: Keith Packard Date: Thu, 19 Dec 2013 07:27:34 +0000 (-0800) Subject: altos/lpc: Reset less of the device on USB reset. X-Git-Tag: 1.3~6 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=1ab12861c3e70d7c22b27d988546a925616a0adc;hp=1ab12861c3e70d7c22b27d988546a925616a0adc altos/lpc: Reset less of the device on USB reset. This leaves most of the device configured across USB reset, which appears to help when sending a IN reply to the first SETUP packet; without this change, the IN reply would always get a length of 0, which is fine for SET_ADDRESS, but not for GET_DESCRIPTOR_DEVICE, which OS X appears to send before setting the address (go figure). Signed-off-by: Keith Packard ---