AP_HAL_Linux: allow tone alarm types

This commit is contained in:
Andy Piper 2021-04-28 21:49:49 +01:00 committed by Andrew Tridgell
parent 3428cbf993
commit ba96f4491d
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public:
int get_hw_arm32();
bool toneAlarm_init() override { return _toneAlarm.init(); }
bool toneAlarm_init(uint8_t types) override { return _toneAlarm.init(); }
void toneAlarm_set_buzzer_tone(float frequency, float volume, uint32_t duration_ms) override {
_toneAlarm.set_buzzer_tone(frequency, volume, duration_ms);
}