Skip to content

Commit 7445805

Browse files
kliffwongadamb-q
andauthored
[QPG] Lower OpenThread task priority to mitigate race conditions in Matter code (project-chip#40152)
Co-authored-by: Adam Bodurka <[email protected]>
1 parent e12ebf1 commit 7445805

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platform/qpg/CHIPDevicePlatformConfig.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
#define CHIP_DEVICE_CONFIG_THREAD_TASK_STACK_SIZE (4 * 1024)
5555
#endif // CHIP_DEVICE_CONFIG_THREAD_TASK_STACK_SIZE
5656

57+
#ifndef CHIP_DEVICE_CONFIG_THREAD_TASK_PRIORITY
58+
#define CHIP_DEVICE_CONFIG_THREAD_TASK_PRIORITY 3
59+
#endif
60+
5761
#define CHIP_DEVICE_CONFIG_MAX_EVENT_QUEUE_SIZE 25
5862

5963
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_TELEMETRY 0

0 commit comments

Comments
 (0)