mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
stm32:tone_alarm remmove assert
This commit is contained in:
committed by
Lorenz Meier
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user