Skip to content

Commit 155dd56

Browse files
Update src/asm.rs
Co-authored-by: Jonas Schievink <[email protected]>
1 parent 3b184ea commit 155dd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pub unsafe fn bx_ns(addr: u32) {
169169
///
170170
/// This method is used by cortex-m-semihosting to provide semihosting syscalls.
171171
#[inline]
172-
pub unsafe fn sh_syscall(nr: u32, arg: u32) -> u32 {
172+
pub unsafe fn semihosting_syscall(nr: u32, arg: u32) -> u32 {
173173
call_asm!(__sh_syscall(nr: u32, arg: u32) -> u32)
174174
}
175175

0 commit comments

Comments
 (0)