From 6200e78e933245e0724072b8825f5e32a9129a3c Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Mon, 7 Feb 2022 23:51:43 +0100 Subject: [PATCH] Bugfix Guru plot --- UserInterfaceManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UserInterfaceManager.cpp b/UserInterfaceManager.cpp index b90d7bc..aaec0f8 100644 --- a/UserInterfaceManager.cpp +++ b/UserInterfaceManager.cpp @@ -1548,7 +1548,7 @@ void ToolBox::Render() // keep array of 180 values, i.e. approx 3 seconds of recording static float recorded_values[3][PLOT_ARRAY_SIZE] = {{}}; static float recorded_sum[3] = { 0.f, 0.f, 0.f }; - static float recorded_bounds[3][2] = { {40.f, 65.f}, {0.f, 50.f}, {0.f, 50.f} }; + static float recorded_bounds[3][2] = { {40.f, 65.f}, {1.f, 50.f}, {0.f, 50.f} }; static float refresh_rate = -1.f; static int values_index = 0; float megabyte = static_cast( static_cast(SystemToolkit::memory_usage()) / 1048576.0 ); @@ -1568,7 +1568,7 @@ void ToolBox::Render() for(int i = 0; i