hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.99k stars 1.05k forks source link

function tud_descriptor_configuration_cb parameter index is not used #2014

Closed epowsal closed 1 year ago

epowsal commented 1 year ago

Operating System

Windows 11

Board

esp32 s3

Firmware

default

What happened ?

null action

How to reproduce ?

no

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

no

Screenshots

origin code:

uint8_t const tud_descriptor_configuration_cb(uint8_t index) { (void)index; // for multiple configurations return (uint8_t const)EspTinyUSB::descriptor_config_if; }

I have checked existing issues, dicussion and documentation

hathach commented 1 year ago

There is no issue with this at all