Skip to content

fix idfgh-6508: return type in tu_fifo_peek_n()#1287

Merged
hathach merged 1 commit intohathach:masterfrom
alisitsyn:bugfix/fix_idfgh6508
Jan 19, 2022
Merged

fix idfgh-6508: return type in tu_fifo_peek_n()#1287
hathach merged 1 commit intohathach:masterfrom
alisitsyn:bugfix/fix_idfgh6508

Conversation

@alisitsyn
Copy link
Copy Markdown
Contributor

@alisitsyn alisitsyn commented Jan 19, 2022

Describe the PR
This simple PR is submitted to fix the IDFGH-6508 issue as described here: espressif/esp-idf#8161
The return type in the line /src/common/tusb_fifo.c:719 should be changed to uint16_t instead of bool.
The esp-idf fork then can be rebased on upstream master.

Copy link
Copy Markdown
Owner

@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.

spot-on, thank you for the bug fix. I was probably writing this while sleepy

@hathach hathach merged commit 9e99269 into hathach:master Jan 19, 2022
@alisitsyn
Copy link
Copy Markdown
Contributor Author

Thank you for merging!

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