All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.
This commit is contained in:
parent
bbe7c77b91
commit
50ff97f378
17 changed files with 19 additions and 16 deletions
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t StreamingInterfaceNumber; /**< Index of the Audio Streaming interface within the device this
|
||||
* structure controls.
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t ControlInterfaceNumber; /**< Interface number of the CDC control interface within the device. */
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t InterfaceNumber; /**< Interface number of the HID interface within the device. */
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t StreamingInterfaceNumber; /**< Index of the Audio Streaming interface within the device this structure controls. */
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
|
||||
struct
|
||||
{
|
||||
// No state information for this class
|
||||
uint8_t RESERVED; // No state information for this class
|
||||
} State; /**< State data for the USB class interface within the device. All elements in this section
|
||||
* are reset to their defaults when the interface is enumerated.
|
||||
*/
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t InterfaceNumber; /**< Interface number of the Mass Storage interface within the device. */
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
const struct
|
||||
struct
|
||||
{
|
||||
uint8_t ControlInterfaceNumber; /**< Interface number of the RNDIS control interface within the device. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue