From cc08ea7abba7a97584aae7bffc002d479ef7742d Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 22 Aug 2008 12:16:06 +0000 Subject: [PATCH] CONFIG_KERN: rename from CONFIG_KERNEL for consistency git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1671 38d2e660-2303-0410-9eaa-f027e97ec537 --- app/demo/cfg/cfg_kern.h | 5 +++-- bertos/cfg/cfg_kern.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/demo/cfg/cfg_kern.h b/app/demo/cfg/cfg_kern.h index e1a0c6cc..8404f75f 100644 --- a/app/demo/cfg/cfg_kern.h +++ b/app/demo/cfg/cfg_kern.h @@ -44,7 +44,8 @@ /** * Enable the multithreading kernel. */ -#define CONFIG_KERNEL 1 +#define CONFIG_KERN 1 +#define CONFIG_KERNEL CONFIG_KERN // OBSOLETE /** * \name Optional kernel features @@ -65,7 +66,7 @@ /* OBSOLETE */ #define CONFIG_KERN_PREEMPTIVE CONFIG_KERN_PREEMPT -/// Time sharing quantum in timer ticks. +/// [ms] Time sharing quantum (a prime number prevents interference effects) #define CONFIG_KERN_QUANTUM 50 /// Module logging level. diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index 4b2286b3..5c5a2eed 100644 --- a/bertos/cfg/cfg_kern.h +++ b/bertos/cfg/cfg_kern.h @@ -44,7 +44,8 @@ /** * Enable the multithreading kernel. */ -#define CONFIG_KERNEL 0 +#define CONFIG_KERN 0 +#define CONFIG_KERNEL CONFIG_KERN // OBSOLETE /** * \name Optional kernel features -- 2.25.1