Browse Source

AP_Notify: give error msgs on failure to start

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
7718be81cb
  1. 2
      libraries/AP_Notify/ToneAlarm_Linux.cpp

2
libraries/AP_Notify/ToneAlarm_Linux.cpp

@ -38,7 +38,7 @@ bool ToneAlarm_Linux::init() @@ -38,7 +38,7 @@ bool ToneAlarm_Linux::init()
// open the tone alarm device
err = hal.util->toneAlarm_init();
if (err == -1) {
hal.console->printf("Unable to open ToneAlarm sysfs");
hal.console->printf("AP_Notify: Failed to initialise ToneAlarm");
return false;
}

Loading…
Cancel
Save