diff --git a/sam3s_example/atmel_softpack_libraries/usb/device/core/USBDDriver.c b/sam3s_example/atmel_softpack_libraries/usb/device/core/USBDDriver.c index eb35f58a..03534cd7 100644 --- a/sam3s_example/atmel_softpack_libraries/usb/device/core/USBDDriver.c +++ b/sam3s_example/atmel_softpack_libraries/usb/device/core/USBDDriver.c @@ -92,7 +92,7 @@ static void SetConfiguration(USBDDriver *pDriver, uint8_t cfgnum) } else { - pConfiguration = pDriver->pDescriptors->pFsConfiguration[0]; + pConfiguration = pDriver->pDescriptors->pFsConfiguration[cfgnum]; } /* Set & save the desired configuration */