mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Merge branch 'master' into new_monotonic
This commit is contained in:
commit
b57ef0bf9d
6 changed files with 11 additions and 26 deletions
|
|
@ -35,7 +35,7 @@
|
|||
// #![deny(warnings)]
|
||||
#![no_std]
|
||||
|
||||
use cortex_m::{interrupt::Nr, peripheral::NVIC};
|
||||
use cortex_m::{interrupt::InterruptNumber, peripheral::NVIC};
|
||||
pub use cortex_m_rtic_macros::app;
|
||||
pub use rtic_core::{
|
||||
monotonic::{self, embedded_time as time, Monotonic},
|
||||
|
|
@ -53,7 +53,7 @@ mod tq;
|
|||
/// [`NVIC::pend`](../cortex_m/peripheral/struct.NVIC.html#method.pend)
|
||||
pub fn pend<I>(interrupt: I)
|
||||
where
|
||||
I: Nr,
|
||||
I: InterruptNumber,
|
||||
{
|
||||
NVIC::pend(interrupt)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue