From: asterix Date: Wed, 11 Jan 2012 18:14:38 +0000 (+0000) Subject: Silen some warning. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=580aa21ef4c17152eea413db8d6e0e09a4fbbf44;p=bertos.git Silen some warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5253 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_rtask.h b/bertos/cfg/cfg_rtask.h index fecc60d4..7bc9a016 100644 --- a/bertos/cfg/cfg_rtask.h +++ b/bertos/cfg/cfg_rtask.h @@ -49,7 +49,7 @@ * * $WIZ$ type = "int" */ -#define CONFIG_RTASK_STACK 256 +#define CONFIG_RTASK_STACK KERN_MINSTACKSIZE /** * Module logging level. diff --git a/bertos/kern/rtask.c b/bertos/kern/rtask.c index dddbd6d7..4ccc6b18 100644 --- a/bertos/kern/rtask.c +++ b/bertos/kern/rtask.c @@ -45,6 +45,8 @@ #define LOG_FORMAT RTASK_LOG_FORMAT #include +#include + #include #include diff --git a/test/run_tests.sh b/test/run_tests.sh index 13934186..348cbb98 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -41,6 +41,7 @@ SRC_LIST=" bertos/kern/signal.c bertos/kern/sem.c bertos/kern/preempt.c + bertos/kern/rtask.c bertos/mware/event.c bertos/mware/formatwr.c bertos/mware/hex.c