mirror of
https://github.com/FunKey-Project/fkgpiod.git
synced 2026-03-20 19:02:53 +01:00
add FK_NOTICE in mapping_list.c
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user