mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user