Skip to content

Commit

Permalink
spiFlash: removed unused variable (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Jul 6, 2024
1 parent f6b6f6f commit 58cc503
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/spiFlash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,6 @@ int8_t SPIFlash::get_tb()
/* read status register and extract bp area */
uint8_t SPIFlash::get_bp()
{
uint8_t mask = 0;
uint8_t status = read_status_reg();
return (status & get_bp_mask());
}
Expand Down

0 comments on commit 58cc503

Please sign in to comment.