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 e984037 + e0b66cc commit 2884700Copy full SHA for 2884700
src/clock.c
@@ -23,7 +23,7 @@
23
#ifdef RT_USING_SMP
24
#define rt_tick rt_cpu_index(0)->tick
25
#else
26
-static rt_tick_t rt_tick = 0;
+static volatile rt_tick_t rt_tick = 0;
27
#endif
28
29
/**
0 commit comments