kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Work in progress.
rodzic
e14e991f9a
commit
68f1ca16a1
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#define PROGRAM_NAME "DSRemote"
|
||||
#define PROGRAM_VERSION "0.32_1601091517"
|
||||
#define PROGRAM_VERSION "0.32_1601091631"
|
||||
|
||||
#define MAX_PATHLEN 4096
|
||||
|
||||
|
|
|
@ -466,6 +466,10 @@ void UI_Mainwindow::close_connection()
|
|||
|
||||
scrn_thread->set_device(NULL);
|
||||
|
||||
devparms.math_fft = 0;
|
||||
|
||||
devparms.math_fft_split = 0;
|
||||
|
||||
waveForm->clear();
|
||||
|
||||
tmc_close();
|
||||
|
|
|
@ -734,7 +734,12 @@ void SignalCurve::drawFFT(QPainter *painter, int curve_h_b, int curve_w_b)
|
|||
|
||||
/////////////////////////////////// FFT: draw the curve ///////////////////////////////////////////
|
||||
|
||||
if((devparms->fftbufsz > 32) && devparms->chandisplay[devparms->math_fft_src] && (bufsize > 32))
|
||||
if(bufsize < 32)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if((devparms->fftbufsz > 32) && devparms->chandisplay[devparms->math_fft_src])
|
||||
{
|
||||
painter->setClipping(true);
|
||||
painter->setClipRegion(QRegion(0, 0, curve_w, curve_h), Qt::ReplaceClip);
|
||||
|
|
Ładowanie…
Reference in New Issue