From b7ae9ad5b16e680dfc4d976e877f77f6bb1a9e3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maximilian=20G=C3=BCntner?= Date: Sat, 9 Jun 2012 15:05:41 +0200 Subject: [PATCH] use increments that make sense for 600 seconds MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 599/12 = 50, no need to use 5*60. Signed-off-by: Maximilian Güntner --- profile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profile.c b/profile.c index 4a505bd..728409e 100644 --- a/profile.c +++ b/profile.c @@ -461,9 +461,9 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi if (maxtime < 600) { increments[0] = 10; - increments[1] = 30; - increments[2] = 60; - increments[3] = 5*60; + increments[1] = 20; + increments[2] = 30; + increments[3] = 60; } /* Time markers: at most every 5 min, but no more than 12 markers * and for convenience we do 5, 10, 15 or 30 min intervals. -- 2.43.0