summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-04 13:06:46 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-11 18:19:26 +0100
commit85c98bc63c6635fe9e337178f23faa9c0ec3f9fb (patch)
treef32ec8b8c0c4df5a914b8be5dbf43ebcfa4f6687
parentcfbd9cb22fc1499c3b2f8207d72dce4cb388e09f (diff)
downloadrockbox-85c98bc63c6635fe9e337178f23faa9c0ec3f9fb.tar.gz
rockbox-85c98bc63c6635fe9e337178f23faa9c0ec3f9fb.tar.bz2
rockbox-85c98bc63c6635fe9e337178f23faa9c0ec3f9fb.zip
Improve readability by adding parenthesis
Change-Id: Iff51ab441a59f1ba842132b809a49d1fe7232e05
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
index 976b648a83..0d831a7167 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
@@ -1001,7 +1001,7 @@ static uint32_t ftl_vfl_write(uint32_t vpage, uint32_t count,
}
}
- for (i = count < ftl_banks ? count : ftl_banks; i > 0; i--)
+ for (i = (count < ftl_banks ? count : ftl_banks); i > 0; i--)
if (nand_write_page_collect(bank[i - 1]))
if (nand_read_page(bank[i - 1], physpage[i - 1],
ftl_buffer, &ftl_sparebuffer[0], 1, 1) & 0x11F)