mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Periph: use AP_Notify enum for ToneAlarm types
This commit is contained in:
parent
ea1795d6fe
commit
3390167753
@ -477,7 +477,7 @@ static void handle_beep_command(CanardInstance* ins, CanardRxTransfer* transfer)
|
|||||||
if (!initialised) {
|
if (!initialised) {
|
||||||
initialised = true;
|
initialised = true;
|
||||||
hal.rcout->init();
|
hal.rcout->init();
|
||||||
hal.util->toneAlarm_init(AP_HAL::Util::ALARM_BUZZER);
|
hal.util->toneAlarm_init(AP_Notify::Notify_Buzz_Builtin);
|
||||||
}
|
}
|
||||||
fix_float16(req.frequency);
|
fix_float16(req.frequency);
|
||||||
fix_float16(req.duration);
|
fix_float16(req.duration);
|
||||||
|
Loading…
Reference in New Issue
Block a user