diff --git a/start_threads.c b/start_threads.c index 6b03c7958..b8d3aac9f 100644 --- a/start_threads.c +++ b/start_threads.c @@ -325,7 +325,8 @@ int capture_callback(alsa_driver_t *alsa_driver_capture) { snd_pcm_status_dump(pcm_stat, jcd_out); #endif gettimeofday(&tv, NULL); - stime = (double) tv.tv_sec + ((double)tv.tv_usec / 1000.0); + stime = (double) tv.tv_sec + ((double)tv.tv_usec / 1000000.0); + *(this->Tsec)=stime; ib=*(this->ibuf); this->tbuf[ib++]=stime; if(ib>=1024) ib=0; diff --git a/wsjt.py b/wsjt.py index a26545e94..fd5721d88 100644 --- a/wsjt.py +++ b/wsjt.py @@ -1,4 +1,4 @@ -#---------------------------------------------------------- WSJT +#----------------------------------------------------------- WSJT from Tkinter import * from tkFileDialog import * import Pmw