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 --- gpio.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpio.s') 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 -- cgit v1.2.3