From 2afaa069bd3ad18a53e0048aec50f7bfd6d176b1 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 25 Jul 2004 00:39:39 +0000 Subject: [PATCH] insert usleep() in loop --- testing/cmd_1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/cmd_1.c b/testing/cmd_1.c index 843f672..b2b7d2d 100644 --- a/testing/cmd_1.c +++ b/testing/cmd_1.c @@ -249,6 +249,7 @@ int test_cmd_write_fast_1chan(void) { printf("E: comedi_get_buffer_contents() returned %i\n", ret); }else if(ret == 0) break; + usleep(10000); } // cancel needed in the case of stop_src==TRIG_NONE if(comedi_cancel(device, subdevice)) -- 2.26.2