We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c306bc7 + ed1b308 commit 8512591Copy full SHA for 8512591
Ports/ARM-Cortex-M/ARMv7-M/os_cpu_c.c
@@ -114,7 +114,7 @@ void OSIdleTaskHook (void)
114
void OSInitHook (void)
115
{
116
#if (OS_CPU_ARM_FP_EN > 0u)
117
- CPU_INT32U reg_val;
+ volatile CPU_INT32U reg_val;
118
#endif
119
/* 8-byte align the ISR stack. */
120
OS_CPU_ExceptStkBase = (CPU_STK *)(OSCfg_ISRStkBasePtr + OSCfg_ISRStkSize);
0 commit comments