kopia lustrzana https://github.com/Hamlib/Hamlib
Fix ms timer reference in debug in misc.c
rodzic
677ccac4bc
commit
9898ea9522
|
@ -1297,7 +1297,7 @@ double HAMLIB_API elapsed_ms(struct timespec *start, int option)
|
|||
elapsed_msec = ((stop.tv_sec - start->tv_sec) + (stop.tv_nsec / 1e9 -
|
||||
start->tv_nsec / 1e9)) * 1e3;
|
||||
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: elapsed_secs=%g\n", __func__, elapsed_msec);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: elapsed_msecs=%g\n", __func__, elapsed_msec);
|
||||
|
||||
if (elapsed_msec < 0 || option == ELAPSED_INVALIDATE) { return 1000000; }
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue