diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-08 01:32:19 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-10 05:20:30 (GMT) |
| commit | 0d18fd6474e989f262dd8744fb15ec8577193d51 (patch) | |
| tree | 7eeb8382fecb1a5aef3898637b2640e90e3b783e /src | |
| parent | ec484c7b0c4e36ee8b95987866e43c2f447b90b7 (diff) | |
FreeRTOS cooperative mode. This is experimental.
It seems that blocking code is not used in the infinitime codebase.
This saves a few bytes, and may make the operation more reliable or predictable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/FreeRTOSConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FreeRTOSConfig.h b/src/FreeRTOSConfig.h index 263d803..f9c6b6c 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 */ |
