- Send notifications to ExtUI for M0/M1 - wait_for_user can be non-volatile (not changed by interrupt) C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
|
||
183 | 183 |
|
184 | 184 |
|
185 | 185 |
|
186 |
|
|
186 |
|
|
187 | 187 |
|
188 | 188 |
|
189 | 189 |
|
|
||
333 | 333 |
|
334 | 334 |
|
335 | 335 |
|
336 |
|
|
336 |
|
|
337 | 337 |
|
338 | 338 |
|
339 | 339 |
|
|
||
31 | 31 |
|
32 | 32 |
|
33 | 33 |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
34 | 38 |
|
35 | 39 |
|
36 | 40 |
|
|
||
74 | 78 |
|
75 | 79 |
|
76 | 80 |
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
77 | 85 |
|
78 | 86 |
|
79 | 87 |
|
|
||
97 | 105 |
|
98 | 106 |
|
99 | 107 |
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
100 | 112 |
|
101 | 113 |
|
102 | 114 |
|
|
||
46 | 46 |
|
47 | 47 |
|
48 | 48 |
|
49 |
|
|
49 |
|
|
50 | 50 |
|
51 | 51 |
|
52 | 52 |
|
|
||
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
58 |
|
|
58 | 59 |
|
59 | 60 |
|
60 | 61 |
|
|
||
630 | 630 |
|
631 | 631 |
|
632 | 632 |
|
633 |
|
|
634 |
|
|
635 |
|
|
636 |
|
|
637 |
|
|
638 |
|
|
633 | 639 |
|
634 | 640 |
|
635 | 641 |
|
|
||
117 | 117 |
|
118 | 118 |
|
119 | 119 |
|
120 |
|
|
120 | 121 |
|
121 | 122 |
|
122 | 123 |
|
|
||
239 | 240 |
|
240 | 241 |
|
241 | 242 |
|
242 |
|
|
243 |
|
|
243 | 244 |
|
244 | 245 |
|
245 | 246 |
|
246 | 247 |
|
248 |
|
|
247 | 249 |
|
248 | 250 |
|
249 | 251 |
|