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

Avoiding unused parameter warning for dmaDoNothingCallback() #263

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

ulysse314
Copy link

@ulysse314 ulysse314 commented Sep 15, 2020

Replacing:
static void dmaDoNothingCallback(Adafruit_ZeroDMA *dma) { }
by:
static void dmaDoNothingCallback(Adafruit_ZeroDMA *dma) { (void)dma; }

@ladyada ladyada merged commit e6c07cc into adafruit:master Sep 15, 2020
@ulysse314 ulysse314 deleted the adafruit-master branch September 23, 2020 21:04
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