mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
Input: tsdev - fix broken usec-to-millisecs conversion
Noted by Fengwei Yin <yfw.kernel@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
744c9c33ea
commit
65f88f89c9
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ static void tsdev_event(struct input_handle *handle, unsigned int type,
|
|||
int x, y, tmp;
|
||||
|
||||
do_gettimeofday(&time);
|
||||
client->event[client->head].millisecs = time.tv_usec / 100;
|
||||
client->event[client->head].millisecs = time.tv_usec / 1000;
|
||||
client->event[client->head].pressure = tsdev->pressure;
|
||||
|
||||
x = tsdev->x;
|
||||
|
|
Loading…
Reference in a new issue