diff --git a/src/drivers/tone_alarm/ToneAlarm.cpp b/src/drivers/tone_alarm/ToneAlarm.cpp index 3a8094f75a946774bd9bdf01e14e5eab93da62be..7acacf18458b3a58589eacf71623249e06856dad 100644 --- a/src/drivers/tone_alarm/ToneAlarm.cpp +++ b/src/drivers/tone_alarm/ToneAlarm.cpp @@ -139,7 +139,10 @@ void ToneAlarm::orb_update() if (updated) { orb_copy(ORB_ID(tune_control), _tune_control_sub, &_tune); - _play_tone = _tunes.set_control(_tune) == 0; + + if (_tune.timestamp > 0) { + _play_tone = _tunes.set_control(_tune) == 0; + } } }