debugging for eriks pc

This commit is contained in:
Dhanya Maliakal 2016-11-10 15:57:04 +01:00
parent fd666605aa
commit 8298486f27
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ public:
void IsXYRangeValues(bool changed,qDefs::range xy){IsXYRange[xy]=changed;}; void IsXYRangeValues(bool changed,qDefs::range xy){IsXYRange[xy]=changed;};
/** Get minimum Plot timer - between plots */ /** Get minimum Plot timer - between plots */
double GetMinimumPlotTimer(){return PLOT_TIMER_MS;}; double GetMinimumPlotTimer(){return (double)PLOT_TIMER_MS;};
/** Set Plot timer - between plots in ms*/ /** Set Plot timer - between plots in ms*/
void SetPlotTimer(double time); void SetPlotTimer(double time);
/** Set Plot frame factor - between plots, also for receiver if exists */ /** Set Plot frame factor - between plots, also for receiver if exists */
@ -482,7 +482,7 @@ bool IsXYRange[4];
//#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6) //#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6)
//static constexpr double PLOT_TIMER_MS = 200; //static constexpr double PLOT_TIMER_MS = 200;
//#else //#else
static const double PLOT_TIMER_MS = 200; static const int PLOT_TIMER_MS = 200;
//#endif //#endif
/** Specific timer value between plots */ /** Specific timer value between plots */
double timerValue; double timerValue;

View File

@ -164,7 +164,7 @@ void qDrawPlot::SetupWidgetWindow(){
IsXYRange[2] = false; IsXYRange[2] = false;
IsXYRange[3] = false; IsXYRange[3] = false;
timerValue = PLOT_TIMER_MS; timerValue = (double)PLOT_TIMER_MS;
frameFactor=0; frameFactor=0;
isFrameEnabled = false; isFrameEnabled = false;
isTriggerEnabled = false; isTriggerEnabled = false;