-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
slave spi seems badly broken on 4.0 (IDFGH-3885) #5784
Comments
Q1. Yes, thanks for the report. The crash problem will be fixed soon. Thank you very much. |
Setting cs num to -1 means cs pin is not connected. But passing the value -1 to the spicommon_cs_initialize() will lead to program crash caused by "array index out of bounds". We expect the driver to execute well but the driver should not be in charge of users' behaviour, so this commit prevents the crash. #5784
Thanks for reporting, feel free to reopen. |
No offense, but the slave SPI on v4.0 at least seems to be badly broken
The text was updated successfully, but these errors were encountered: