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