Skip to content

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

@terrillmoore

Description

@terrillmoore

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions