|
@@ -261,7 +261,7 @@ inline static int string2hex(
|
|
|
inline static void sleep_us( unsigned int nusecs )
|
|
|
{
|
|
|
struct timeval tval;
|
|
|
- tval.tv_sec=nusecs/100000;
|
|
|
+ tval.tv_sec =nusecs/1000000;
|
|
|
tval.tv_usec=nusecs%1000000;
|
|
|
select(0, NULL, NULL, NULL, &tval );
|
|
|
}
|