Fix flow.

This commit is contained in:
Merlijn Wajer 2012-12-11 18:05:56 +01:00
parent a5fb0aa80b
commit b188ac05d3

4
map.c
View File

@ -170,6 +170,10 @@ int main(int argc, char** argv) {
}
printf("Event: (Type: %d, Code: %d, Value %d)\n", e.type, e.code, e.value);
} else {
/* Update poll read mechanism */
fdrr = (fdrr + 1) % INPUT_DEVICE_COUNT;
continue;
}
/* Now handle received event */