Commit 6af0f5f8 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

AVR32: Add missing return instruction in __raw_writesb

__raw_writesb ends with a conditional branch, which is obviously
wrong. It should return after the last loop terminates.
Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent bbfd2bf9
...@@ -45,3 +45,5 @@ __raw_readsb: ...@@ -45,3 +45,5 @@ __raw_readsb:
sub r10, 1 sub r10, 1
st.b r11++, r8 st.b r11++, r8
brne 3b brne 3b
retal r12
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment