diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-06-07 10:47:14 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 10:47:14 +0000 |
| commit | cffbfc75098fcfbd0201570cfd74ffe8d9a0cf37 (patch) | |
| tree | a9ce8f1de35418ba08e671387405aa6f054e5dde | |
| parent | 8d3c803308197c2c9068da2b3c04163b07ea1d47 (diff) | |
| parent | ab90426416c8b7cc382f4b0567a71bad9debdb69 (diff) | |
Merge #645
645: fix ci: use SYST::PTR r=korken89 a=japaric
SYST::ptr has been deprecated in cortex-m v0.7.5
SYST::PTR is available since cortex-m v0.7.0
CI was failing due to a warning turned into an error by `deny(warnings)`
Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
| -rw-r--r-- | src/export.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export.rs b/src/export.rs index 6e1e4a6..a4d76b5 100644 --- a/src/export.rs +++ b/src/export.rs @@ -302,14 +302,14 @@ fn compute_mask(from_prio: u8, to_prio: u8, masks: &[u32; 3]) -> u32 { #[cfg(not(armv7m))] #[inline(always)] unsafe fn set_enable_mask(mask: u32) { - (*NVIC::ptr()).iser[0].write(mask) + (*NVIC::PTR).iser[0].write(mask) } // disables interrupts #[cfg(not(armv7m))] #[inline(always)] unsafe fn clear_enable_mask(mask: u32) { - (*NVIC::ptr()).icer[0].write(mask) + (*NVIC::PTR).icer[0].write(mask) } #[inline] |
