Browse Source

AP_HAL: added duration to toneAlarm_set_buzzer_tone

master
Andrew Tridgell 7 years ago
parent
commit
949324ff2b
  1. 2
      libraries/AP_HAL/Util.h

2
libraries/AP_HAL/Util.h

@ -72,7 +72,7 @@ public: @@ -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

Loading…
Cancel
Save