Skip to content

Commit c25a677

Browse files
committed
[QPG] Fix for OpenThread Stack bump compile issue
1 parent 1fecb91 commit c25a677

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/platform/qpg/project_include/OpenThreadConfig.h

+10
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@
8282

8383
#define OPENTHREAD_PLATFORM_NEXUS 0
8484

85+
#if !defined(OPENTHREAD_FTD) && !defined(OPENTHREAD_MTD)
86+
#if CHIP_DEVICE_CONFIG_THREAD_FTD
87+
#define OPENTHREAD_FTD 1
88+
#define OPENTHREAD_MTD 0
89+
#else
90+
#define OPENTHREAD_FTD 0
91+
#define OPENTHREAD_MTD 1
92+
#endif
93+
#endif
94+
8595
// Use the Qorvo-supplied default platform configuration for remainder
8696
// of OpenThread config options.
8797
//

0 commit comments

Comments
 (0)