libtunes: Update tunes and mkblctrl to use the tune_definition

This commit is contained in:
Simone Guscetti
2017-08-07 17:01:59 +02:00
committed by Beat Küng
parent 26b721ac8b
commit 4c6daf0748
3 changed files with 9 additions and 19 deletions
+1 -1
View File
@@ -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);