Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Ionut Muthi <[email protected]>
  • Loading branch information
IonutMuthi committed Jun 28, 2024
1 parent 1744b04 commit 7a6986d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/datalogger/src/menus/plottimeaxiscontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <menuonoffswitch.h>
#include <menusectionwidget.h>
#include <timemanager.hpp>
#include <cfloat>

using namespace scopy;
using namespace datamonitor;
Expand Down Expand Up @@ -43,7 +44,7 @@ PlotTimeAxisController::PlotTimeAxisController(MonitorPlot *m_plot, QWidget *par
{"min", 60},
{"hour", 3600},
},
"Delta", (double)((long)(-1 << 31)), (double)((long)1 << 31), false, false, xAxisContainer);
"Delta", -DBL_MAX , DBL_MAX, false, false, xAxisContainer);
m_xdelta->setValue(DataMonitorUtils::getAxisDefaultMaxValue());

auto &&timeTracker = TimeManager::GetInstance();
Expand Down

0 comments on commit 7a6986d

Please sign in to comment.