From 7718be81cbf203e6b077c65dbffe9974b68f34d0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Nov 2014 16:58:40 +1100 Subject: [PATCH] AP_Notify: give error msgs on failure to start --- libraries/AP_Notify/ToneAlarm_Linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Notify/ToneAlarm_Linux.cpp b/libraries/AP_Notify/ToneAlarm_Linux.cpp index 9f94510c9c..0ef6cc2f14 100644 --- a/libraries/AP_Notify/ToneAlarm_Linux.cpp +++ b/libraries/AP_Notify/ToneAlarm_Linux.cpp @@ -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; }