kopia lustrzana https://github.com/keenerd/rtl-sdr
fix typo that causes compile error on Mac OS
rodzic
c6e6be52f7
commit
7de7bae6ca
|
@ -162,8 +162,8 @@ static int ppm_gettime(struct time_generic *tg)
|
|||
struct timeval tv;
|
||||
|
||||
rv = gettimeofday(&tv, NULL);
|
||||
ts->tv_sec = tv.tv_sec;
|
||||
ts->tv_nsec = tv.tv_usec * 1000;
|
||||
tg->tv_sec = tv.tv_sec;
|
||||
tg->tv_nsec = tv.tv_usec * 1000;
|
||||
#endif
|
||||
return rv;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue