mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 11:53:34 +08:00
kinetis:tone_alarm remmove assert
This commit is contained in:
committed by
Lorenz Meier
parent
a0f70be238
commit
1306e28874
@@ -425,7 +425,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