From 2c2d1eedb66d6293489bf5679cde0c9c50ffb1bb Mon Sep 17 00:00:00 2001 From: "Sean C. Rhea" Date: Fri, 7 Mar 2008 20:11:55 +0000 Subject: [PATCH] use minutes, not seconds, as the y-axis says --- src/gui/PowerHist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/PowerHist.cpp b/src/gui/PowerHist.cpp index 547312d8b..956fcc35c 100644 --- a/src/gui/PowerHist.cpp +++ b/src/gui/PowerHist.cpp @@ -65,7 +65,7 @@ PowerHist::recalc() smoothWatts[i] = low; smoothTime[i] = 0.0; while (low < high) - smoothTime[i] += array[low++]; + smoothTime[i] += array[low++] / 60.0; } smoothTime[i] = 0.0; smoothWatts[i] = i * binw;