From 949324ff2b50a0db8c51da3aebba97b0e3aba8e1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 27 Jul 2018 17:12:17 +1000 Subject: [PATCH] AP_HAL: added duration to toneAlarm_set_buzzer_tone --- libraries/AP_HAL/Util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index 7e78117e79..ee968f1466 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -72,7 +72,7 @@ public: ToneAlarm Driver */ virtual bool toneAlarm_init() { return false;} - virtual void toneAlarm_set_buzzer_tone(float frequency, float volume) {} + virtual void toneAlarm_set_buzzer_tone(float frequency, float volume, uint32_t duration_ms) {} /* return a stream for access to a system shell, if available