diff options
Diffstat (limited to 'test/grail-touch.c')
| -rw-r--r-- | test/grail-touch.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/grail-touch.c b/test/grail-touch.c index 8893c0d..bed31c3 100644 --- a/test/grail-touch.c +++ b/test/grail-touch.c | |||
| @@ -54,10 +54,8 @@ static void loop_device(struct touch_dev *dev, int fd) | |||
| 54 | struct touch_engine engine; | 54 | struct touch_engine engine; |
| 55 | touch_engine_init(&engine, tp_event, tp_sync, 0); | 55 | touch_engine_init(&engine, tp_event, tp_sync, 0); |
| 56 | touch_engine_attach(&engine, dev); | 56 | touch_engine_attach(&engine, dev); |
| 57 | while (!touch_dev_idle(dev, fd, 5000)) { | 57 | while (!touch_dev_idle(dev, fd, 5000)) |
| 58 | touch_dev_fetch(dev, fd); | 58 | touch_dev_pull(dev, fd); |
| 59 | touch_dev_process(dev); | ||
| 60 | } | ||
| 61 | touch_engine_detach(&engine, dev); | 59 | touch_engine_detach(&engine, dev); |
| 62 | } | 60 | } |
| 63 | 61 | ||
