summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron/src/cre_tsk.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/itron/src/cre_tsk.c')
-rw-r--r--c/src/exec/itron/src/cre_tsk.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/exec/itron/src/cre_tsk.c b/c/src/exec/itron/src/cre_tsk.c
index 250293c026..2b81e36650 100644
--- a/c/src/exec/itron/src/cre_tsk.c
+++ b/c/src/exec/itron/src/cre_tsk.c
@@ -83,9 +83,13 @@ ER cre_tsk(
the_thread,
NULL,
pk_ctsk->stksz,
- TRUE, /* XXX - All tasks FP for now */
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
+ TRUE, /* XXX - All tasks FP (if the HW supports it) for now */
+#else
+ FALSE,
+#endif
core_priority,
- TRUE,
+ TRUE, /* preemptible */
THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE,
NULL, /* no budget algorithm callout */
0,