Commit ed1b308
committed
chore: add a volatile keyword to keep a error check in OSInitHook
OSInitHook has a error check to make sure the M4F FPU is in correct mode.
As such the FPU in STM32G4 M4F is in correct state on reset and this check
will always pass. However making sure the error check stays active in the
final binary could help catch issues in some other platforms1 parent c306bc7 commit ed1b308
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments