diff options
-rw-r--r-- | src/flash/nor/nrf5.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/flash/nor/nrf5.c b/src/flash/nor/nrf5.c index fa67e2b..9a68b5f 100644 --- a/src/flash/nor/nrf5.c +++ b/src/flash/nor/nrf5.c @@ -797,11 +797,10 @@ static int nrf5_probe(struct flash_bank *bank) if (!chip->bank[0].probed && !chip->bank[1].probed) { char buf[80]; nrf5_info(bank, buf, sizeof(buf)); - if (!chip->spec && !chip->ficr_info_valid) { + if (!chip->spec && !chip->ficr_info_valid) LOG_INFO("Unknown device: %s", buf); - } else { + else LOG_INFO("%s", buf); - } } free(bank->sectors); |