From 3b326e4b9942f90ee0cde8ccae1aef3fa9856fbf Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sat, 23 Dec 2023 22:31:58 -0600 Subject: Use bx instruction for returns --- clocks.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clocks.s') diff --git a/clocks.s b/clocks.s index 09a0f6d..74bd215 100644 --- a/clocks.s +++ b/clocks.s @@ -15,4 +15,4 @@ setup_clocks: str r0, [r1, CLK_REF_CTRL_OFST] movs r0, 1 // use auxsrc (default pll_sys, =0x1) as clk_sys source str r0, [r1, CLK_SYS_CTRL_OFST] - mov pc, lr + bx lr -- cgit v1.2.3