summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-08 01:32:19 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-08 14:49:01 (GMT)
commit9062562bc98211c70bedc8050e6b8ae1facc0328 (patch)
treec37e2aa69506813b822f83cf36b36956d04fae30
parent461b4f9f53aa713cdd494f290612c2bff005a10a (diff)
FreeRTOS cooperative mode
-rw-r--r--src/FreeRTOSConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FreeRTOSConfig.h b/src/FreeRTOSConfig.h
index 8c311d3..e2ae27f 100644
--- a/src/FreeRTOSConfig.h
+++ b/src/FreeRTOSConfig.h
@@ -54,7 +54,7 @@
#define configTICK_SOURCE FREERTOS_USE_RTC
-#define configUSE_PREEMPTION 1
+#define configUSE_PREEMPTION 0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
#define configUSE_TICKLESS_IDLE 1
#define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG 0 /* See into vPortSuppressTicksAndSleep source code for explanation */