From d5b102bdf3c2f1e78c51fe8b81e8ff134c30d012 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 16 Sep 2011 20:53:05 -0700 Subject: [PATCH] Flip tank pressure graph to show the RIGHT way This annoyed me from the first moment Linus added the tank pressure graph. As the pressure goes down, the graph needs to go down. Seriously. Signed-off-by: Dirk Hohndel --- profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.c b/profile.c index be34588..270b203 100644 --- a/profile.c +++ b/profile.c @@ -441,7 +441,7 @@ static int get_cylinder_pressure_range(struct graphics_context *gc, struct plot_ gc->leftx = 0; gc->rightx = get_maxtime(pi); - gc->topy = 0; gc->bottomy = pi->maxpressure * 1.5; + gc->bottomy = 0; gc->topy = pi->maxpressure * 1.5; return pi->maxpressure != 0; } -- 2.43.0