diff options
Diffstat (limited to 'spi25_statusreg.c')
-rw-r--r-- | spi25_statusreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spi25_statusreg.c b/spi25_statusreg.c index 69b2126..bf63fb3 100644 --- a/spi25_statusreg.c +++ b/spi25_statusreg.c @@ -260,7 +260,7 @@ static void spi_prettyprint_status_register_bp(uint8_t status, int bp) /* Fall through. */ case 4: msg_cdbg("Chip status register: Block Protect 4 (BP4) is %sset\n", - (status & (1 << 5)) ? "" : "not "); + (status & (1 << 6)) ? "" : "not "); case 3: msg_cdbg("Chip status register: Block Protect 3 (BP3) is %sset\n", (status & (1 << 5)) ? "" : "not "); |