diff --git a/libraries/AP_Notify/AP_Notify.h b/libraries/AP_Notify/AP_Notify.h index 87935d63a0..f68afe7b53 100644 --- a/libraries/AP_Notify/AP_Notify.h +++ b/libraries/AP_Notify/AP_Notify.h @@ -60,6 +60,7 @@ public: // additional flags uint32_t external_leds : 1; // 1 if external LEDs are enabled (normally only used for copter) uint32_t vehicle_lost : 1; // 1 when lost copter tone is requested (normally only used for copter) + uint32_t waiting_for_throw : 1; // 1 when copter is in THROW mode and waiting to detect the user hand launch }; /// notify_events_type - bitmask of active events. diff --git a/libraries/AP_Notify/ToneAlarm_PX4.cpp b/libraries/AP_Notify/ToneAlarm_PX4.cpp index b8ea6a33a6..97ddf0063d 100644 --- a/libraries/AP_Notify/ToneAlarm_PX4.cpp +++ b/libraries/AP_Notify/ToneAlarm_PX4.cpp @@ -65,6 +65,8 @@ const ToneAlarm_PX4::Tone ToneAlarm_PX4::_tones[] { { "MBNT255>B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8B#8", true }, #define AP_NOTIFY_PX4_TONE_QUIET_COMPASS_CALIBRATING_CTS 14 { "MBNT255