diff options
author | Don Gagne <don@thegagnes.com> | 2014-06-29 13:55:55 -0700 |
---|---|---|
committer | Don Gagne <don@thegagnes.com> | 2014-06-29 13:55:55 -0700 |
commit | 2448e2adbc22af348aa799473c30ac5f1cba9cd0 (patch) | |
tree | e001f762e1a39e7fe63e1000686d79ff1718043b /src/systemcmds/mtd | |
parent | 33c20e15a2246e9249bbb8183758604fdc231183 (diff) | |
download | px4-firmware-2448e2adbc22af348aa799473c30ac5f1cba9cd0.tar.gz px4-firmware-2448e2adbc22af348aa799473c30ac5f1cba9cd0.tar.bz2 px4-firmware-2448e2adbc22af348aa799473c30ac5f1cba9cd0.zip |
More tab fixes
Diffstat (limited to 'src/systemcmds/mtd')
-rw-r--r-- | src/systemcmds/mtd/mtd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/systemcmds/mtd/mtd.c b/src/systemcmds/mtd/mtd.c index 8b43e54da..fcc9b8366 100644 --- a/src/systemcmds/mtd/mtd.c +++ b/src/systemcmds/mtd/mtd.c @@ -193,12 +193,12 @@ ramtron_attach(void) errx(1, "failed to initialize mtd driver"); int ret = mtd_dev->ioctl(mtd_dev, MTDIOC_SETSPEED, (unsigned long)10*1000*1000); - if (ret != OK) { - // FIXME: From the previous warnx call, it looked like this should have been an errx instead. Tried - // that but setting the bug speed does fail all the time. Which was then exiting and the board would - // not run correctly. So changed to warnx. - warnx("failed to set bus speed"); - } + if (ret != OK) { + // FIXME: From the previous warnx call, it looked like this should have been an errx instead. Tried + // that but setting the bug speed does fail all the time. Which was then exiting and the board would + // not run correctly. So changed to warnx. + warnx("failed to set bus speed"); + } attached = true; } |