zy1000: fix incorrect usage of jtag_sleep()
Found by inspection: the correct thing in the context is to use usleep() rather than jtag_sleep(). Relates to JTAG over TCP/IP only. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
bb0d11cba9
commit
4da640563b
|
@ -1393,7 +1393,8 @@ static void tcpipserver(void)
|
|||
uint32_t data;
|
||||
if (!readLong(&data))
|
||||
return;
|
||||
jtag_sleep(data);
|
||||
/* Wait for some us */
|
||||
usleep(data);
|
||||
break;
|
||||
}
|
||||
case ZY1000_CMD_WAITIDLE:
|
||||
|
|
Loading…
Reference in New Issue