diff --git a/libraries/AP_HAL_Linux/Util.h b/libraries/AP_HAL_Linux/Util.h index 8e6543e333..e664cf71f8 100644 --- a/libraries/AP_HAL_Linux/Util.h +++ b/libraries/AP_HAL_Linux/Util.h @@ -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); }