AP_HAL: added duration to toneAlarm_set_buzzer_tone

This commit is contained in:
Andrew Tridgell 2018-07-27 17:12:17 +10:00
parent c711c8c6bb
commit 949324ff2b

View File

@ -72,7 +72,7 @@ public:
ToneAlarm Driver ToneAlarm Driver
*/ */
virtual bool toneAlarm_init() { return false;} 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 return a stream for access to a system shell, if available