diff --git a/input_dev.c b/input_dev.c index 8976eef..d07d020 100644 --- a/input_dev.c +++ b/input_dev.c @@ -166,9 +166,9 @@ static void* input_read_thread_func(void* ptr) { if (rc == 0) { const int is_syn = (read_ev.type == EV_SYN) && (read_ev.code == SYN_REPORT); - if ((read_ev.code == MSC_TIMESTAMP) && (read_ev.type = EV_MSC)) { + if ((read_ev.code == MSC_TIMESTAMP) && (read_ev.type == EV_MSC)) { // the output device will handle that - printf("MSC_TIMESTAMP found. Ignoring..."); + //printf("MSC_TIMESTAMP found. Ignoring...\n"); continue; } diff --git a/input_dev.h b/input_dev.h index 4767c92..fc41d5c 100644 --- a/input_dev.h +++ b/input_dev.h @@ -2,7 +2,7 @@ #include "queue.h" -#define INCLUDE_INPUT_DEBUG +#undef INCLUDE_INPUT_DEBUG #define INPUT_DEV_CTRL_FLAG_EXIT 0x00000001U