diff options
| author | Nicolas Stalder <n@stalder.io> | 2020-12-30 00:08:06 +0100 |
|---|---|---|
| committer | Nicolas Stalder <n@stalder.io> | 2021-01-04 16:07:17 +0100 |
| commit | aa90cb1484e77c4c0700d24859b3038fdc15a4ed (patch) | |
| tree | d221a62e0d010e058029cdf408b97c7295d0fb1e /src | |
| parent | e65a86f6962218b66a14b7ccc40eec7976880eba (diff) | |
Bump cortex-m to 0.7.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 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) } |
