From f812dc5d9b337f0c9c0e47798a23afdb0c8a310b Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sat, 7 Oct 2017 22:06:20 +0200 Subject: Fix dump_plan debug code This fixes some debug code to dump the diveplan which is usually not compiled and used. Signed-off-by: Stefan Fuchs --- core/planner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/planner.c b/core/planner.c index 338b89cd2..e93c48f9f 100644 --- a/core/planner.c +++ b/core/planner.c @@ -59,7 +59,7 @@ void dump_plan(struct diveplan *diveplan) diveplan->surface_pressure); dp = diveplan->dp; while (dp) { - printf("\t%3u:%02u: %dmm gas: %d o2 %d h2\n", FRACTION(dp->time, 60), dp->depth, get_o2(&dp->gasmix), get_he(&dp->gasmix)); + printf("\t%3u:%02u: %6dmm cylid: %2d setpoint: %d\n", FRACTION(dp->time, 60), dp->depth, dp->cylinderid, dp->setpoint); dp = dp->next; } } -- cgit v1.2.3-70-g09d2