aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-13 11:42:02 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-13 11:42:02 +0200
commit3ec9ffa66166b10101887cc4077d1b02d4a0897b (patch)
tree3ef044ee36b039f0baac9dc34f64919e574ce2d6 /src/modules/commander
parentea11bc6c4bf7180ae4e321eebcaf817eebb18e6c (diff)
downloadpx4-firmware-3ec9ffa66166b10101887cc4077d1b02d4a0897b.tar.gz
px4-firmware-3ec9ffa66166b10101887cc4077d1b02d4a0897b.tar.bz2
px4-firmware-3ec9ffa66166b10101887cc4077d1b02d4a0897b.zip
Buzzer and led: Fix -Wshadow warnings.
Diffstat (limited to 'src/modules/commander')
-rw-r--r--src/modules/commander/commander.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp
index 009e0ac01..85c9ccbaa 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -697,11 +697,11 @@ int commander_thread_main(int argc, char *argv[])
/* initialize */
if (led_init() != 0) {
- warnx("ERROR: Failed to initialize leds");
+ warnx("ERROR: LED INIT FAIL");
}
if (buzzer_init() != OK) {
- warnx("ERROR: Failed to initialize buzzer");
+ warnx("ERROR: BUZZER INIT FAIL");
}
mavlink_fd = open(MAVLINK_LOG_DEVICE, 0);