From 8e563589721b07084f22bffd12f332e273e8404d Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Fri, 6 Sep 2019 15:04:06 +0900 Subject: [PATCH] Add FEATURE macro to config.h --- config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.h b/config.h index 69b7f4f..5454eb7 100644 --- a/config.h +++ b/config.h @@ -19,6 +19,8 @@ #ifndef __CONFIG_H #define __CONFIG_H +#define FEATURE(x) (defined(CONFIG_##x) && CONFIG_##x == 1) + #define CONFIG_KERNEL_STACK_SIZE 4096 #define CONFIG_USER_STACK_SIZE 4096 -- 2.47.3