diff options
author | Tim Newsome <tim@sifive.com> | 2020-06-30 11:24:33 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2020-06-30 11:24:33 -0700 |
commit | 7a52af41c1212acb922129b4b6558c220920dd38 (patch) | |
tree | 3086e46af6d7ab949664d3872712c9f8d7ae31ad /src | |
parent | 43463b30ed472f97ede801c5267512b35236efd5 (diff) | |
download | riscv-openocd-7a52af41c1212acb922129b4b6558c220920dd38.zip riscv-openocd-7a52af41c1212acb922129b4b6558c220920dd38.tar.gz riscv-openocd-7a52af41c1212acb922129b4b6558c220920dd38.tar.bz2 |
Fix formatting.
Change-Id: If17f12ad23a7c131eb4ac1344704e62ca24f585d
Diffstat (limited to 'src')
-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); |