commander: no message due to LED/buzzer not found

The LED init and Buzzer init messages were only annoying and not helpful
on Snapdragon and SITL. Therefore they are replaced with only developer
printfs.
This commit is contained in:
Julian Oes
2016-04-21 16:56:37 +02:00
committed by Lorenz Meier
parent 8c246b3219
commit 8e5091703c
+2 -2
View File
@@ -1216,11 +1216,11 @@ int commander_thread_main(int argc, char *argv[])
/* initialize */
if (led_init() != OK) {
mavlink_and_console_log_critical(&mavlink_log_pub, "ERROR: LED INIT FAIL");
PX4_WARN("LED init failed");
}
if (buzzer_init() != OK) {
mavlink_and_console_log_critical(&mavlink_log_pub, "ERROR: BUZZER INIT FAIL");
PX4_WARN("Buzzer init failed");
}
/* vehicle status topic */