From b4f105f178856643d8af734d0652acfb6fa06fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Mon, 18 Aug 2014 10:42:12 +0200 Subject: [PATCH] core: SCHED_PRIO_LEVELS==16 for every board Closes #1399. > Using a different value for SCHED_PRIO_LEVELS for 16 and 32 bit platforms hurts portability, one thing that we heavily advertise about RIOT. if you want to write a portable application, then you have to assume the lower value. This PR defaults `SCHED_PRIO_LEVELS` to 16 for every board. --- core/include/sched.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/include/sched.h b/core/include/sched.h index 041fd505e..6364f816e 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -91,9 +91,7 @@ * @def SCHED_PRIO_LEVELS * @brief The number of thread priority levels */ -#if ARCH_32_BIT -#define SCHED_PRIO_LEVELS 32 -#else +#ifndef SCHED_PRIO_LEVELS #define SCHED_PRIO_LEVELS 16 #endif