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 --- pll.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pll.s') diff --git a/pll.s b/pll.s index 68a03cc..7458f61 100644 --- a/pll.s +++ b/pll.s @@ -55,4 +55,4 @@ vco_lock: ldr r1, =(PLL_SYS_BASE + ATOMIC_CLEAR) movs r0, 0x8 // postdiv (bit 3) str r0, [r1, PWR_OFST] - mov pc, lr + bx lr -- cgit v1.2.3