Skip to content

Commit 1638f51

Browse files
committed
Tidy assembly for volatile
1 parent 3141092 commit 1638f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ and compare generated assembly code:
910910
| ldr r1, [r2, #0] <---- Update s_ticks
911911
cmp r3, r0 | cmp r1, r3
912912
bcc.n 200000d2 <delay+0x6> | bcc.n 200000d2 <delay+0x6>
913-
bx lr bx lr
913+
bx lr | bx lr
914914
```
915915
916916
Long story short: if there is no `volalile`, the `delay()` function will loop

0 commit comments

Comments
 (0)