mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
4fa576526f
commit
f812dc5d9b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue