diff --git a/include/logging/log_core.h b/include/logging/log_core.h index d690d767713..a2613c3ad6c 100644 --- a/include/logging/log_core.h +++ b/include/logging/log_core.h @@ -169,7 +169,7 @@ extern "C" { _LOG_INTERNAL_X(_LOG_NARGS_POSTFIX(__VA_ARGS__), \ _src_level, __VA_ARGS__);\ } \ - } while (0) + } while (false) #define _LOG_INTERNAL_0(_src_level, _str) \ log_0(_str, _src_level)