mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_Linux: allow tone alarm types
This commit is contained in:
parent
3428cbf993
commit
ba96f4491d
|
@ -110,7 +110,7 @@ public:
|
||||||
|
|
||||||
int get_hw_arm32();
|
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 {
|
void toneAlarm_set_buzzer_tone(float frequency, float volume, uint32_t duration_ms) override {
|
||||||
_toneAlarm.set_buzzer_tone(frequency, volume, duration_ms);
|
_toneAlarm.set_buzzer_tone(frequency, volume, duration_ms);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue