mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Mixer command: Clean up output
This commit is contained in:
parent
f776c57fb2
commit
ad4d841b8a
@ -93,12 +93,12 @@ mixer_main(int argc, char *argv[])
|
||||
static void
|
||||
usage(const char *reason)
|
||||
{
|
||||
if (reason) {
|
||||
PX4_INFO("%s\n", reason);
|
||||
if (reason && *reason) {
|
||||
PX4_INFO("%s", reason);
|
||||
}
|
||||
|
||||
PX4_INFO("usage:\n");
|
||||
PX4_INFO(" mixer load <device> <filename>\n");
|
||||
PX4_INFO("usage:");
|
||||
PX4_INFO(" mixer load <device> <filename>");
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user