mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
stm32:tone_alarm remmove assert
This commit is contained in:
parent
a063de093a
commit
a0f70be238
@ -511,7 +511,6 @@ void ToneAlarm::next_note()
|
||||
}
|
||||
|
||||
// and arrange a callback when the note should stop
|
||||
assert(duration != 0);
|
||||
work_queue(HPWORK, &_work, (worker_t)&ToneAlarm::next_trampoline, this, USEC2TICK(duration));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user