merge-requests/1/head
Teuniz 2017-01-07 11:27:09 +01:00
rodzic 840a593afe
commit 5e9d3b34aa
3 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.34_1701071043"
#define PROGRAM_VERSION "0.34_1701071126"
#define MAX_PATHLEN 4096

Wyświetl plik

@ -440,7 +440,7 @@ void UI_Mainwindow::save_memory_waveform(int job)
break;
}
wavbuf[chn][bytes_rcvd + k] = ((int)(((unsigned char *)device->buf)[k]) - yref[chn] - yor[chn]) << 5;
wavbuf[chn][bytes_rcvd + k] = ((int)(((unsigned char *)device->buf)[k]) - yref[chn]) << 5;
}
bytes_rcvd += n;

Wyświetl plik

@ -311,8 +311,6 @@ void WaveCurve::paintEvent(QPaintEvent *)
h_trace_offset = curve_h / 2;
h_trace_offset -= ((devparms->chanoffset[chn] / (devparms->chanscale[chn] * devparms->vertdivisions)) * (double)curve_h);
painter->setPen(QPen(QBrush(SignalColor[chn], Qt::SolidPattern), tracewidth, Qt::SolidLine, Qt::SquareCap, Qt::BevelJoin));
for(i=0; i<sample_range; i++)