Skip to content

Commit c4b0b36

Browse files
Rebase removed asm import, so qualify path to asm! macro.
1 parent 8b84fc8 commit c4b0b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m/src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub unsafe fn semihosting_syscall(nr: u32, arg: u32) -> u32 {
190190
#[cfg(cortex_m)]
191191
#[inline(always)]
192192
pub unsafe fn enter_unprivileged(psp: *const u32, entry: fn() -> !) -> ! {
193-
asm!(
193+
core::arch::asm!(
194194
"mrs {tmp}, CONTROL",
195195
"orr {tmp}, #3",
196196
"msr PSP, {psp}",

0 commit comments

Comments
 (0)