mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Bump cortex-m to 0.7.0
This commit is contained in:
parent
e65a86f696
commit
aa90cb1484
2 changed files with 6 additions and 3 deletions
|
|
@ -38,7 +38,7 @@
|
|||
use core::ops::Sub;
|
||||
|
||||
use cortex_m::{
|
||||
interrupt::Nr,
|
||||
interrupt::InterruptNumber,
|
||||
peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, TPIU},
|
||||
};
|
||||
pub use cortex_m_rtic_macros::app;
|
||||
|
|
@ -158,7 +158,7 @@ pub trait Monotonic {
|
|||
/// [`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