mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:13:34 +08:00
More tab fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ int test_mixer(int argc, char *argv[])
|
||||
}
|
||||
|
||||
warnx("SUCCESS: No errors in mixer test");
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user