task! is not needed if tasks.$T.path is specified

This commit is contained in:
Jorge Aparicio 2017-07-24 22:46:29 -05:00
parent 74daa77fe0
commit fb4542818b
3 changed files with 120 additions and 54 deletions

View file

@ -191,6 +191,10 @@ impl Threshold {
impl !Send for Threshold {}
/// Sets an interrupt as pending
///
/// If the interrupt priority is high enough the interrupt will be serviced
/// immediately, otherwise it will be serviced at some point after the current
/// task ends.
pub fn set_pending<I>(interrupt: I)
where
I: Nr,