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

compiler warning tusb_fifo.c -> missing default: break; #2469

Closed
1 task done
IngHK opened this issue Feb 14, 2024 · 0 comments
Closed
1 task done

compiler warning tusb_fifo.c -> missing default: break; #2469

IngHK opened this issue Feb 14, 2024 · 0 comments
Labels

Comments

@IngHK
Copy link

IngHK commented Feb 14, 2024

Operating System

Linux

Board

Firmware

What happened ?

../tinyusb/src/common/tusb_fifo.c: In function '_ff_push_n':
../tinyusb/src/common/tusb_fifo.c:162:3: warning: switch missing default case [-Wswitch-default]
162 | switch (copy_mode)
| ^~~~~~

How to reproduce ?

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

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@IngHK IngHK added the Bug 🐞 label Feb 14, 2024
hathach added a commit that referenced this issue Feb 19, 2024
fixed #2469 compiler warning tusb_fifo.c -> missing default: break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant