diff options
Diffstat (limited to 'nrf-softdevice-mbr')
-rw-r--r-- | nrf-softdevice-mbr/src/bindings.rs | 2 | ||||
-rw-r--r-- | nrf-softdevice-mbr/src/lib.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/nrf-softdevice-mbr/src/bindings.rs b/nrf-softdevice-mbr/src/bindings.rs index 633e819..f4b6504 100644 --- a/nrf-softdevice-mbr/src/bindings.rs +++ b/nrf-softdevice-mbr/src/bindings.rs @@ -620,7 +620,7 @@ fn bindgen_test_layout_sd_mbr_command_t() { #[inline(always)] pub unsafe fn sd_mbr_command(param: *mut sd_mbr_command_t) -> u32 { let ret: u32; - asm!("svc 24", + core::arch::asm!("svc 24", inout("r0") to_asm(param) => ret, lateout("r1") _, lateout("r2") _, diff --git a/nrf-softdevice-mbr/src/lib.rs b/nrf-softdevice-mbr/src/lib.rs index d5bf6e7..bdfddda 100644 --- a/nrf-softdevice-mbr/src/lib.rs +++ b/nrf-softdevice-mbr/src/lib.rs @@ -3,7 +3,6 @@ #![allow(non_upper_case_globals)] #![allow(non_snake_case)] #![allow(dead_code)] -#![feature(asm)] mod bindings; |