Skip to content

Conversation

@henrygab
Copy link
Collaborator

@henrygab henrygab commented Jan 9, 2020

Simple fix for build warning

if ( isInISR() )
{
BaseType_t ret, xHigherPriorityTaskWoken = pdFALSE;
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
Copy link
Member

Choose a reason for hiding this comment

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

worse issue, this shadow the outter ret variable, thank you very much. This needs an eagle eye to catch :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No eagle eye required -- just build with all warnings enabled. It's even an option exposed in the UI. :)

However, it appears that the move away from the Travis builds lost the ability to find regressions related to warning levels. Now, warnings are ignored by the GitHub action based builds. (This may be how it slipped past?)

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.

thanks for another PR :)

@hathach hathach merged commit 1a123ec into adafruit:master Jan 9, 2020
@ladyada
Copy link
Member

ladyada commented Jan 9, 2020

nice!

@henrygab henrygab deleted the typo_1 branch January 12, 2020 08: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.

3 participants