From 20b1a37f8e6adf62d7dc6399ee1c68bbfb27fdc9 Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Mon, 26 Apr 2021 08:18:28 +0200 Subject: [PATCH] add FK_NOTICE in mapping_list.c Signed-off-by: Michel-FK --- mapping_list.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mapping_list.c b/mapping_list.c index eea06ac..a633b0b 100644 --- a/mapping_list.c +++ b/mapping_list.c @@ -35,6 +35,7 @@ #include "uinput.h" //#define DEBUG_MAPPING_LIST +#define NOTICE_MAPPING_LIST #define ERROR_MAPPING_LIST #ifdef DEBUG_MAPPING_LIST @@ -43,6 +44,12 @@ #define FK_DEBUG(...) #endif +#ifdef NOTICE_MAPPING_LIST + #define FK_NOTICE(...) syslog(LOG_NOTICE, __VA_ARGS__); +#else + #define FK_NOTICE(...) +#endif + #ifdef ERROR_MAPPING_LIST #define FK_ERROR(...) syslog(LOG_ERR, __VA_ARGS__); #else