Skip to content

Commit

Permalink
Fix #336: unused variables in Catena_Flash_at25sf081.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Jun 12, 2022
1 parent 3ea3e9a commit 956247b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/Catena_Flash_at25sf081.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ void cFlash_AT25SF081::readId(
uint16_t *pDeviceId
)
{
SPIClass * const pSpi = this->m_pSpi;
uint8_t data[4];

this->powerUp();
Expand Down Expand Up @@ -215,8 +214,6 @@ bool cFlash_AT25SF081::eraseChip(
void
)
{
uint8_t status[2];

this->powerUp();

if (! this->writeEnable())
Expand Down Expand Up @@ -254,7 +251,6 @@ bool cFlash_AT25SF081::erase(
Timing Delay
)
{
uint8_t status[2];
uint8_t data[4];

this->powerUp();
Expand Down Expand Up @@ -377,7 +373,6 @@ bool cFlash_AT25SF081::setProtection(
ProtectionBits protectionLevel
)
{
uint8_t status[2];
uint8_t data[3];

this->powerUp();
Expand Down Expand Up @@ -465,7 +460,6 @@ size_t cFlash_AT25SF081::programPage(
size_t nBuffer
)
{
SPIClass * const pSpi = this->m_pSpi;
uint8_t data[4];
size_t programSize;

Expand Down

0 comments on commit 956247b

Please sign in to comment.