summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_cpp_extension.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlt/dlt_cpp_extension.hpp')
-rw-r--r--include/dlt/dlt_cpp_extension.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dlt/dlt_cpp_extension.hpp b/include/dlt/dlt_cpp_extension.hpp
index c2600e7..cd82896 100644
--- a/include/dlt/dlt_cpp_extension.hpp
+++ b/include/dlt/dlt_cpp_extension.hpp
@@ -203,7 +203,7 @@ static inline int32_t logToDltVariadic(DltContextData &log, First const &valueA,
dlt_user_log_write_finish(&log);\
}\
}\
- while(0)
+ while(false)
/**
* @brief macro to write a log message with variable number of arguments and without the need to specify the type of log data.
@@ -227,6 +227,6 @@ static inline int32_t logToDltVariadic(DltContextData &log, First const &valueA,
dlt_user_log_write_finish(&log);\
}\
}\
- while(0)
+ while(false)
#endif /* DLT_CPP_EXTENSION_HPP */