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

I2S Driver error (IDFGH-3040) #5065

Closed
mucar89 opened this issue Apr 5, 2020 · 1 comment
Closed

I2S Driver error (IDFGH-3040) #5065

mucar89 opened this issue Apr 5, 2020 · 1 comment

Comments

@mucar89
Copy link

mucar89 commented Apr 5, 2020

A2DP Sink example is not working because of "I2S communication format invalid." error. I think "!" is missing on "components/driver/i2s.c" file, on line 383.

Example is working if I change that line to this:
I2S_CHECK(**!**((i2s_config->communication_format & I2S_COMM_FORMAT_I2S) || (i2s_config->communication_format & I2S_COMM_FORMAT_PCM)), "I2S communication format invalid.", ESP_ERR_INVALID_ARG);

(Reporing an error is not something I am familiar with, sorry for any inconvenience)

@github-actions github-actions bot changed the title I2S Driver error I2S Driver error (IDFGH-3040) Apr 5, 2020
@Alvin1Zhang
Copy link
Collaborator

@mucar89 Thanks for reporting, we have a fix which is now under internal reviewing, will update once it is available on GitHub. Thanks.

@igrr igrr closed this as completed in b35d900 Jun 12, 2020
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

No branches or pull requests

2 participants