mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 07:21:36 +08:00
@@ -128,6 +128,10 @@ int buzzer_init()
|
|||||||
tune_durations[TONE_NOTIFY_NEGATIVE_TUNE] = 900000;
|
tune_durations[TONE_NOTIFY_NEGATIVE_TUNE] = 900000;
|
||||||
tune_durations[TONE_NOTIFY_NEUTRAL_TUNE] = 500000;
|
tune_durations[TONE_NOTIFY_NEUTRAL_TUNE] = 500000;
|
||||||
tune_durations[TONE_ARMING_WARNING_TUNE] = 3000000;
|
tune_durations[TONE_ARMING_WARNING_TUNE] = 3000000;
|
||||||
|
tune_durations[TONE_HOME_SET] = 800000;
|
||||||
|
tune_durations[TONE_BATTERY_WARNING_FAST_TUNE] = 800000;
|
||||||
|
tune_durations[TONE_BATTERY_WARNING_SLOW_TUNE] = 800000;
|
||||||
|
tune_durations[TONE_SINGLE_BEEP_TUNE] = 300000;
|
||||||
tune_control_pub = orb_advertise(ORB_ID(tune_control), &tune_control);
|
tune_control_pub = orb_advertise(ORB_ID(tune_control), &tune_control);
|
||||||
return PX4_OK;
|
return PX4_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user