diff --git a/src/libs/aroma_input.c b/src/libs/aroma_input.c index 6f015ab..becf285 100644 --- a/src/libs/aroma_input.c +++ b/src/libs/aroma_input.c @@ -171,7 +171,7 @@ void ev_input_callback_(struct input_event * ev) { evtouch_x = ev->value >> 16; evtouch_y = ev->value & 0xFFFF; - if ((evtouch_x > 0) && (evtouch_y > 0)) { + if ((evtouch_x != 0) && (evtouch_y != 0)) { if (ev->code == 0) { evtouch_state = 0; } @@ -458,4 +458,4 @@ int atouch_wait_ex(ATEV * atev, byte calibratingtouch) { return 0; } -//-- \ No newline at end of file +//--