mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
task! is not needed if tasks.$T.path is specified
This commit is contained in:
parent
74daa77fe0
commit
fb4542818b
3 changed files with 120 additions and 54 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue