You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/critical.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
usingnamespaceqOS;
4
4
5
5
/*! @cond */
6
-
int_disabler_t critical::lock::disable = nullptr; /*< Point to the user-supplied function used to disable the hardware interrupts. */
7
-
int_restorer_t critical::lock::restore = nullptr; /*< Point to the user-supplied function used to restore the hardware interrupts. */
8
-
volatileuint32_t critical::lock::flags = 0UL; /*< To save the current interrupt flags before the disable action is performed. */
9
-
volatileint critical::lock::nestingLevel = 0;
6
+
int_disabler_t critical::lock::disable = nullptr; // skipcq: CXX-W2009 /*< Point to the user-supplied function used to disable the hardware interrupts. */
7
+
int_restorer_t critical::lock::restore = nullptr; // skipcq: CXX-W2009 /*< Point to the user-supplied function used to restore the hardware interrupts. */
8
+
volatileuint32_t critical::lock::flags = 0UL; // skipcq: CXX-W2009 /*< To save the current interrupt flags before the disable action is performed. */
0 commit comments