Skip to content

temporarily walkaround for tinyusb init for v4.2 #7

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

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Conversation

hathach
Copy link
Member

@hathach hathach commented Mar 31, 2021

add walkaround for v4.2 tusb_init() incorrect returned value. This issue is originated by tinyusb stack with incorrect value returned (bool instead of error code). This is fix by tinyusb but IDF v4.2 hasn't updated yet, this is already fixed in IDF v4.3. This walkaround forcely assume tinyusb init is always successful. This will help to keep the current code running when the IDF v4.3 is rolled out.

see also espressif#4728

@hathach hathach requested a review from ladyada March 31, 2021 16:38
@ladyada ladyada merged commit 40fe144 into v4.2 Mar 31, 2021
@hathach hathach deleted the fix-usb-v4.2 branch April 2, 2021 03:36
@hathach hathach mentioned this pull request Apr 13, 2021
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