From: Tollef Fog Heen Date: Sun, 28 Aug 2011 18:55:06 +0000 (+0200) Subject: Drop usleep X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caae43b50a616f3b23726e6e9df81465f6f6bc2c;p=gant Drop usleep --- diff --git a/antlib.c b/antlib.c index dafa1ac..7e3124e 100644 --- a/antlib.c +++ b/antlib.c @@ -607,7 +607,6 @@ ANT_SendBurstTransferA(uchar chan, uchar *data, ushort numpkts) buf[0] = chan|(seq<<5)|(j==numpkts-1 ? 0x80 : 0); for (i = 0; i < 8; i++) buf[1+i] = hexval(data[j*16+i*2])*16+hexval(data[j*16+i*2+1]); - usleep(20*1000); msg_send_pad(MESG_BURST_DATA_ID, buf, 9); seq++; if (seq > 3) seq = 1; }