diff --git a/getfile.cpp b/getfile.cpp index c0291a67f..a6cfc924e 100644 --- a/getfile.cpp +++ b/getfile.cpp @@ -19,7 +19,7 @@ void getfile(QString fname, int ntrperiod) fread(jt8com_.d2,1,44,fp); int nrd=fread(jt8com_.d2,2,npts,fp); fclose(fp); - for(int i=0; iwidePlot->plotWidth(); // qint64 sf = nkhz + ui->widePlot->freqOffset() - 0.5*w*nbpp*df/1000.0; // if(sf != ui->widePlot->startFreq()) ui->widePlot->SetStartFreq(sf); - int i0=16384.0+(ui->widePlot->startFreq()-nkhz+1.27046+0.001*m_fCal) * - 1000.0/df + 0.5; - i0=0; //### +// int i0=16384.0+(ui->widePlot->startFreq()-nkhz+1.27046+0.001*m_fCal) * +// 1000.0/df + 0.5; + int i0=0; //### nbpp=1; //### int i=i0; for (int j=0; j<2048; j++) {