From d574cea5e569ef4aa75d8e0ec4b7f15c05818b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Feh=C3=A9r?= <82935051+feherdave@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:10:03 +0100 Subject: [PATCH] fix(openthread): Fix openthread mtd joiner config * Fix openthread-core-esp32x-mtd-config.h: OPENTHREAD_CONFIG_JOINER_ENABLE macro value * On ESP32 MTD devices Joiner role functionality was not working even if 'Joiner enable' was checked in SDK config because 0 was defined in OPENTHREAD_CONFIG_JOINER_ENABLE macro. Value modified to 1 to resolve the issue. Tested and working on ESP32 H2 MTD device. * Closes: https://github.com/espressif/esp-idf/pull/13473 --- .../private_include/openthread-core-esp32x-mtd-config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openthread/private_include/openthread-core-esp32x-mtd-config.h b/components/openthread/private_include/openthread-core-esp32x-mtd-config.h index e5520f1e5b..40ac95b9eb 100644 --- a/components/openthread/private_include/openthread-core-esp32x-mtd-config.h +++ b/components/openthread/private_include/openthread-core-esp32x-mtd-config.h @@ -217,7 +217,7 @@ #endif // CONFIG_OPENTHREAD_MACFILTER_ENABLE #if CONFIG_OPENTHREAD_JOINER -#define OPENTHREAD_CONFIG_JOINER_ENABLE 0 +#define OPENTHREAD_CONFIG_JOINER_ENABLE 1 #endif #if CONFIG_OPENTHREAD_DIAG