usb: remove const qualifier in struct usb_cfg_data()
The pointer to interface descriptor in struct usb_cfg_data is used to access and modify the descriptor at runtime. Remove const qualifier and thus avoid unnecessary casts. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
e2b51da6f5
commit
a942697d7b
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ struct usb_cfg_data {
|
||||||
*/
|
*/
|
||||||
const uint8_t *usb_device_description;
|
const uint8_t *usb_device_description;
|
||||||
/** Pointer to interface descriptor */
|
/** Pointer to interface descriptor */
|
||||||
const void *interface_descriptor;
|
void *interface_descriptor;
|
||||||
/** Function for interface runtime configuration */
|
/** Function for interface runtime configuration */
|
||||||
usb_interface_config interface_config;
|
usb_interface_config interface_config;
|
||||||
/** Callback to be notified on USB connection status change */
|
/** Callback to be notified on USB connection status change */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue