diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-13 12:57:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-13 12:57:49 +0000 |
commit | 34047efc7ee3bd765574d2ce709712ff27c7b2fd (patch) | |
tree | 9eb5d158adb51bdeaf0a93a230ebb50f7cab11a6 /LUFA/Drivers/USB | |
parent | 571159df1b9b86fc76d12a02fc1e172bd202305a (diff) | |
download | lufa-34047efc7ee3bd765574d2ce709712ff27c7b2fd.tar.gz lufa-34047efc7ee3bd765574d2ce709712ff27c7b2fd.tar.bz2 lufa-34047efc7ee3bd765574d2ce709712ff27c7b2fd.zip |
Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances.
Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/DevChapter9.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/DevChapter9.c b/LUFA/Drivers/USB/LowLevel/DevChapter9.c index f44cf0ba4..1529b6f13 100644 --- a/LUFA/Drivers/USB/LowLevel/DevChapter9.c +++ b/LUFA/Drivers/USB/LowLevel/DevChapter9.c @@ -145,9 +145,6 @@ static void USB_Device_SetAddress(void) static void USB_Device_SetConfiguration(void) { - if (USB_DeviceState != DEVICE_STATE_Addressed) - return; - #if defined(FIXED_NUM_CONFIGURATIONS) if ((uint8_t)USB_ControlRequest.wValue > FIXED_NUM_CONFIGURATIONS) return; |