aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/mod.rs
diff options
context:
space:
mode:
authorGravatar homunkulus <homunkulus@gmx.com> 2017-12-23 17:51:13 +0000
committerGravatar homunkulus <homunkulus@gmx.com> 2017-12-23 17:51:13 +0000
commitbdc7ca96c5593e410c8f49025d2b0fced7607a4d (patch)
treeeafb76c2e0eee5492e18ac931e28c50b1be13a7a /src/peripheral/mod.rs
parent9a80bae79d1eb9111e50406cb7cc088246deb04d (diff)
parentf79f4b73fb19ad537669d71f3f567aad9810a8f5 (diff)
downloadcortex-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.rs2
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 } {