add FK_NOTICE in mapping_list.c

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2021-04-26 08:18:28 +02:00
parent d9ff82b012
commit 20b1a37f8e

View File

@ -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