diff options
author | 2017-12-23 17:51:13 +0000 | |
---|---|---|
committer | 2017-12-23 17:51:13 +0000 | |
commit | bdc7ca96c5593e410c8f49025d2b0fced7607a4d (patch) | |
tree | eafb76c2e0eee5492e18ac931e28c50b1be13a7a /src/peripheral/mod.rs | |
parent | 9a80bae79d1eb9111e50406cb7cc088246deb04d (diff) | |
parent | f79f4b73fb19ad537669d71f3f567aad9810a8f5 (diff) | |
download | cortex-m-bdc7ca96c5593e410c8f49025d2b0fced7607a4d.tar.gz cortex-m-bdc7ca96c5593e410c8f49025d2b0fced7607a4d.tar.zst cortex-m-bdc7ca96c5593e410c8f49025d2b0fced7607a4d.zip |
Auto merge of #71 - japaric:unimplemented-asm, r=japaric
map asm! ops to unimplemented! on non ARM targets
closes #63
cc @hannobraun
Diffstat (limited to 'src/peripheral/mod.rs')
-rw-r--r-- | src/peripheral/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs index dbe3e35..d462bdb 100644 --- a/src/peripheral/mod.rs +++ b/src/peripheral/mod.rs @@ -69,7 +69,7 @@ static mut CORE_PERIPHERALS: bool = false; impl Peripherals { /// Returns all the core peripherals *once* - #[inline(always)] + #[inline] pub fn take() -> Option<Self> { interrupt::free(|_| { if unsafe { CORE_PERIPHERALS } { |