Skip to content

Commit 304bdc0

Browse files
committed
Add bold!
1 parent 1638f51 commit 304bdc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,8 @@ forever and never return. Because it caches (optimises) the value of `s_ticks`
918918
in a register and never updates it. A compiler does that because it doesn't
919919
know that `s_ticks` can be updated elsewhere - by the interrupt handler! The
920920
generated code with `volatile`, on the other hand, loads `s_ticks` value on
921-
each iteration. So, the rule of thumb: those values in memory that get updated
922-
by interrupt handlers, or by the hardware, declare as `volatile`.
921+
each iteration. So, the rule of thumb: **those values in memory that get updated
922+
by interrupt handlers, or by the hardware, declare as `volatile`**.
923923
924924
Now we should add `SysTick_Handler()` interrupt handler to the vector table:
925925

0 commit comments

Comments
 (0)