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

ch32v3 fs: signal bus speed #2976

Merged
merged 3 commits into from
Feb 6, 2025
Merged

Conversation

JannisKonradBecker
Copy link
Contributor

Describe the PR
dcd_int_handler in dcd_ch32_usbfs.c signals reset with unset speed which leads to a hardfault if tud_task_ext trys to log in

TU_LOG_USBD(": %s Speed\r\n", tu_str_speed[event.bus_reset.speed]);

@HiFiPhile
Copy link
Collaborator

Thank you, please use speed enum instead of 0 or 1.

} tusb_speed_t;

Copy link
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.

look good, thank you

@hathach hathach merged commit 2a3025e into hathach:master Feb 6, 2025
108 checks passed
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