aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-10-07 22:06:20 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2017-10-16 18:23:27 +0200
commitf812dc5d9b337f0c9c0e47798a23afdb0c8a310b (patch)
treeb2b71dc536c747b8cc0adb9fdc0823d7fa683c28 /core
parent4fa576526f0152327ddf4b0381e79adc8debd22e (diff)
downloadsubsurface-f812dc5d9b337f0c9c0e47798a23afdb0c8a310b.tar.gz
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 <sfuchs@gmx.de>
Diffstat (limited to 'core')
-rw-r--r--core/planner.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}