Skip to content
Snippets Groups Projects
Commit 6a016b4a authored by Federico's avatar Federico
Browse files

Added volatile to prevent linter from reporting a warning

parent 9ce6a646
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
using namespace miosix; using namespace miosix;
static bool error; ///< Set to true by IRQ on error static volatile bool error; ///< Set to true by IRQ on error
static Thread *waiting=0; ///< Thread waiting for an operation to complete static Thread *waiting=0; ///< Thread waiting for an operation to complete
/* In non-DMA mode the variables below are used to /* In non-DMA mode the variables below are used to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment