mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-12 23:42:23 +08:00
libtunes: Update tunes and mkblctrl to use the tune_definition
This commit is contained in:
committed by
Beat Küng
parent
26b721ac8b
commit
4c6daf0748
@@ -450,7 +450,7 @@ void
|
||||
MK::play_beep(int count)
|
||||
{
|
||||
tune_control_s tune = {};
|
||||
tune.tune_id = tune_control_s::TUNE_ID_SINGLE_BEEP;
|
||||
tune.tune_id = static_cast<int>(TuneID::SINGLE_BEEP);
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
orb_publish(ORB_ID(tune_control), _tune_control_sub, &tune);
|
||||
|
||||
Reference in New Issue
Block a user