mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
spiFlash: removed unused variable (#468)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user