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: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
parent
bbfd2bf902
commit
6af0f5f831
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue