Fixed definition of stime and Tsec in start_threads.c.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@44 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2006-01-04 20:10:08 +00:00
parent 45caec5d23
commit 28c62de695
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
#---------------------------------------------------------- WSJT
#----------------------------------------------------------- WSJT
from Tkinter import *
from tkFileDialog import *
import Pmw