mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 13:48:32 +03:00
Fixed change usb config bug
In the standard atmel lib only one configuration was possible. On a GETDESCRIPTOR request the board would always return the full buffer with both configurations. The USB driver requests each configuration one after another, using the configuration index number. The atmel lib did not support more than one USB configuration.
This commit is contained in:
@@ -80,8 +80,8 @@ typedef struct _USBDDriverDescriptors {
|
||||
|
||||
/** Pointer to the full-speed device descriptor */
|
||||
const USBDeviceDescriptor *pFsDevice;
|
||||
/** Pointer to the full-speed configuration descriptor */
|
||||
const USBConfigurationDescriptor *pFsConfiguration;
|
||||
/** Pointer to the full-speed configuration descriptor array */
|
||||
const USBConfigurationDescriptor **pFsConfiguration;
|
||||
/** Pointer to the full-speed qualifier descriptor */
|
||||
const USBDeviceQualifierDescriptor *pFsQualifier;
|
||||
/** Pointer to the full-speed other speed configuration descriptor */
|
||||
|
||||
Reference in New Issue
Block a user