From 0b538da4f2bb4949261d85dad7de01c9c8f6315f Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Fri, 21 Jun 2024 10:25:32 +0000 Subject: [PATCH] tests: sensors: generic_test: fix issue if driver uses system workqueue Changed thread priority to 0 to make it possible to use the system workqueue in a sensor driver. Signed-off-by: Florian Weber --- tests/drivers/build_all/sensor/prj.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/drivers/build_all/sensor/prj.conf b/tests/drivers/build_all/sensor/prj.conf index 156aa046560e..23d51207ce45 100644 --- a/tests/drivers/build_all/sensor/prj.conf +++ b/tests/drivers/build_all/sensor/prj.conf @@ -16,3 +16,4 @@ CONFIG_W1=y CONFIG_SENSOR=y CONFIG_ICM42605_TRIGGER_NONE=y CONFIG_EMUL=y +CONFIG_ZTEST_THREAD_PRIORITY=0