mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
AP_HAL_SITL: allow tone alarm types
This commit is contained in:
parent
dee4ce3d35
commit
d23a0bc23d
@ -51,7 +51,7 @@ public:
|
||||
#endif // ENABLE_HEAP
|
||||
|
||||
#ifdef WITH_SITL_TONEALARM
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user