diff --git a/src/core/common/logging.hpp b/src/core/common/logging.hpp index 5f7a7b1b8..b1dbaac32 100644 --- a/src/core/common/logging.hpp +++ b/src/core/common/logging.hpp @@ -1206,7 +1206,7 @@ extern "C" { #if OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_NOTE #define otDumpNote(aRegion, aId, aBuf, aLength) otDump(OT_LOG_LEVEL_NOTE, aRegion, aId, aBuf, aLength) #else -#define otDumpInfo(aRegion, aId, aBuf, aLength) +#define otDumpNote(aRegion, aId, aBuf, aLength) #endif /**