summaryrefslogtreecommitdiff
path: root/src/components/include/utils/logger_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/utils/logger_status.h')
-rw-r--r--src/components/include/utils/logger_status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/include/utils/logger_status.h b/src/components/include/utils/logger_status.h
index e28fa6f839..17fa0562c2 100644
--- a/src/components/include/utils/logger_status.h
+++ b/src/components/include/utils/logger_status.h
@@ -45,7 +45,7 @@ typedef enum {
// this variable is only changed when creating and deleting logger thread
// its reads and writes are believed to be atomic
// thus it shall be considered thread safe
-extern LoggerStatus logger_status;
+extern volatile LoggerStatus logger_status;
} // namespace logger