mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-26 14:08:40 -04:00
- Missing line broke start_oss.c on transmit
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@192 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
ce8b1874fd
commit
6a55a028db
@ -258,7 +258,8 @@ oss_loop(int *iarg)
|
||||
*(data.Tsec) = stime;
|
||||
|
||||
if(*(data.TxOK) && (!TxOKz)) {
|
||||
n=nsec/(*(data.trperiod));
|
||||
nsec = (int)stime;
|
||||
n = nsec/(*(data.trperiod));
|
||||
ic = (int)(stime - *(data.trperiod)*n) * data.nfs;
|
||||
ic = ic % *(data.nwave);
|
||||
}
|
||||
@ -266,7 +267,7 @@ oss_loop(int *iarg)
|
||||
TxOKz = *(data.TxOK);
|
||||
*(data.Transmitting) = *(data.TxOK);
|
||||
wptr = (int16_t *)tx_buf; /* XXX */
|
||||
if(*(data.TxOK)) {
|
||||
if(*(data.TxOK)) {
|
||||
for(i=0 ; i<FRAMESPERBUFFER; i++ ) {
|
||||
n2 = data.iwave[ic];
|
||||
addnoise_(&n2);
|
||||
|
Loading…
Reference in New Issue
Block a user