mirror of
https://github.com/FunKey-Project/fkgpiod.git
synced 2025-12-12 16:08:51 +01:00
add FK_NOTICE in mapping_list.c
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
d9ff82b012
commit
20b1a37f8e
@ -35,6 +35,7 @@
|
|||||||
#include "uinput.h"
|
#include "uinput.h"
|
||||||
|
|
||||||
//#define DEBUG_MAPPING_LIST
|
//#define DEBUG_MAPPING_LIST
|
||||||
|
#define NOTICE_MAPPING_LIST
|
||||||
#define ERROR_MAPPING_LIST
|
#define ERROR_MAPPING_LIST
|
||||||
|
|
||||||
#ifdef DEBUG_MAPPING_LIST
|
#ifdef DEBUG_MAPPING_LIST
|
||||||
@ -43,6 +44,12 @@
|
|||||||
#define FK_DEBUG(...)
|
#define FK_DEBUG(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef NOTICE_MAPPING_LIST
|
||||||
|
#define FK_NOTICE(...) syslog(LOG_NOTICE, __VA_ARGS__);
|
||||||
|
#else
|
||||||
|
#define FK_NOTICE(...)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ERROR_MAPPING_LIST
|
#ifdef ERROR_MAPPING_LIST
|
||||||
#define FK_ERROR(...) syslog(LOG_ERR, __VA_ARGS__);
|
#define FK_ERROR(...) syslog(LOG_ERR, __VA_ARGS__);
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user