Skip to content

Commit

Permalink
Merge pull request #19 from SimonSickle/patch-1
Browse files Browse the repository at this point in the history
Fix for M8whl (sprint m8)
  • Loading branch information
amarullz committed Feb 4, 2015
2 parents 9d5bd1d + 6e28775 commit de82ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/aroma_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -458,4 +458,4 @@ int atouch_wait_ex(ATEV * atev, byte calibratingtouch) {

return 0;
}
//--
//--

1 comment on commit de82ccc

@Haker32
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.