aboutsummaryrefslogtreecommitdiff
path: root/gpio.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 /gpio.s
parent8f6eed4e102500204879d848572547b35a267cea (diff)
Use bx instruction for returns
Diffstat (limited to 'gpio.s')
-rw-r--r--gpio.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpio.s b/gpio.s
index 3b98ba0..1ef296c 100644
--- a/gpio.s
+++ b/gpio.s
@@ -22,4 +22,4 @@ setup_gpio:
tst r0, r2 // IO_BANK0 is still bit 5
// wait for reset done
beq 1b
- mov pc, lr
+ bx lr