diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-30 12:19:44 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-30 12:19:44 +0200 |
commit | ee8f4dcee639effe982bbb099a6f86f7c4fce5e0 (patch) | |
tree | 50f6b8e77c84cfa1570c97efea219b17695e2752 /src/systemcmds/mtd/24xxxx_mtd.c | |
parent | 3f6851b9879c2e4d764926a3bc29ff800a17b73d (diff) | |
download | px4-firmware-ee8f4dcee639effe982bbb099a6f86f7c4fce5e0.tar.gz px4-firmware-ee8f4dcee639effe982bbb099a6f86f7c4fce5e0.tar.bz2 px4-firmware-ee8f4dcee639effe982bbb099a6f86f7c4fce5e0.zip |
systemcmds: Warning fixes
Diffstat (limited to 'src/systemcmds/mtd/24xxxx_mtd.c')
-rw-r--r-- | src/systemcmds/mtd/24xxxx_mtd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemcmds/mtd/24xxxx_mtd.c b/src/systemcmds/mtd/24xxxx_mtd.c index a3f9dffff..72200f418 100644 --- a/src/systemcmds/mtd/24xxxx_mtd.c +++ b/src/systemcmds/mtd/24xxxx_mtd.c @@ -237,8 +237,10 @@ void at24c_test(void) } else if (result != 1) { vdbg("unexpected %u\n", result); } - if ((count % 100) == 0) + + if ((count % 100) == 0) { vdbg("test %u errors %u\n", count, errors); + } } } |