Skip to content

Commit

Permalink
[message] allow heap usage when using non-thread commissioning (opent…
Browse files Browse the repository at this point in the history
…hread#9205)

Signed-off-by: Andrei Menzopol <[email protected]>
  • Loading branch information
andrei-menzopol authored Jun 29, 2023
1 parent 11a38a6 commit c4a8bad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/common/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c4a8bad

Please sign in to comment.