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

Catena_Flash_at25sf081::begin() dosen't handle ChipSelectPin == -1 properly #337

Open
terrillmoore opened this issue Jun 12, 2022 · 0 comments
Assignees
Labels

Comments

@terrillmoore
Copy link
Member

If ChipSelectPin is -1, begin() incorrectly tries to write to pin -1 and set the mode for -1 to OUTPUT. It should be using this->m_CS. Found by examining code after seeing warnings in this area from -Wall.

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