From c4a8badcdab7ba6ef25ad93ba25b3fabe63c79ec Mon Sep 17 00:00:00 2001 From: andrei-menzopol <96489227+andrei-menzopol@users.noreply.github.com> Date: Thu, 29 Jun 2023 06:02:17 +0300 Subject: [PATCH] [message] allow heap usage when using non-thread commissioning (#9205) Signed-off-by: Andrei Menzopol --- src/core/common/message.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/common/message.cpp b/src/core/common/message.cpp index 1ffc7215c..9d3ebcaae 100644 --- a/src/core/common/message.cpp +++ b/src/core/common/message.cpp @@ -51,10 +51,6 @@ #error "OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE conflicts with OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT." #endif -#if OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE && !OPENTHREAD_CONFIG_DTLS_ENABLE -#error "OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE is strongly discouraged when OPENTHREAD_CONFIG_DTLS_ENABLE is off." -#endif - namespace ot { RegisterLogModule("Message");