aboutsummaryrefslogtreecommitdiff
path: root/clocks.s
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-23 22:31:58 -0600
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-23 22:31:58 -0600
commit3b326e4b9942f90ee0cde8ccae1aef3fa9856fbf (patch)
treeeae3c0658d70b83d807c04a2251099a6076470bb /clocks.s
parent8f6eed4e102500204879d848572547b35a267cea (diff)
Use bx instruction for returns
Diffstat (limited to 'clocks.s')
-rw-r--r--clocks.s2
1 files changed, 1 insertions, 1 deletions
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