Fix ms timer reference in debug in misc.c

pull/281/head
Michael Black W9MDB 2020-05-27 23:38:29 -05:00
rodzic 677ccac4bc
commit 9898ea9522
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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; }