Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GCC 12 warning in Vendor example #402

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

earlephilhower
Copy link
Contributor

Fixes GCC 12 warning for unused parameter found in CI here:

/home/runner/work/arduino-pico/arduino-pico/libraries/Adafruit_TinyUSB_Arduino/examples/Vendor/i2c_tiny_usb_adapter/Adafruit_USBD_I2C.cpp:67:60: error: unused parameter 'itfnum_deprecated' [-Werror=unused-parameter]
   67 | uint16_t Adafruit_USBD_I2C::getInterfaceDescriptor(uint8_t itfnum_deprecated, uint8_t* buf, uint16_t bufsize) {
      |                                                    ~~~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@hathach hathach merged commit 1679e75 into adafruit:master Mar 8, 2024
9 checks passed
@earlephilhower earlephilhower deleted the a123 branch March 22, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants