diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-11-20 05:11:25 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-12-09 12:45:57 +0100 |
| commit | e97afa71ce7bf3d78e257de1aab329135e98c721 (patch) | |
| tree | 8335f9d8327a9863ec64b79934f8241b350f7fe3 /src | |
| parent | e620b1e57a39f342cf73ad6ac8ab0e179b97bfd5 (diff) | |
peripherals as scoped singletons
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,6 +160,6 @@ where I: Nr, { // NOTE(safe) atomic write - let nvic = unsafe { &*cortex_m::peripheral::NVIC.get() }; + let nvic = unsafe { &*cortex_m::peripheral::NVIC::ptr() }; nvic.set_pending(interrupt); } |
