mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Display surface interval in diveplan
...instead of just stating "repetitive dive". As requested by a user. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
72bcb6481f
commit
43599742a3
4 changed files with 21 additions and 15 deletions
|
|
@ -361,7 +361,7 @@ static struct gasmix air = { .o2.permille = O2_IN_AIR, .he.permille = 0 };
|
|||
|
||||
/* take into account previous dives until there is a 48h gap between dives */
|
||||
/* return true if this is a repetitive dive */
|
||||
bool init_decompression(struct dive *dive)
|
||||
unsigned int init_decompression(struct dive *dive)
|
||||
{
|
||||
int i, divenr = -1;
|
||||
unsigned int surface_time;
|
||||
|
|
@ -448,7 +448,7 @@ bool init_decompression(struct dive *dive)
|
|||
}
|
||||
// I do not dare to remove this call. We don't need the result but it might have side effects. Bummer.
|
||||
tissue_tolerance_calc(dive, surface_pressure);
|
||||
return deco_init;
|
||||
return surface_time;
|
||||
}
|
||||
|
||||
void update_cylinder_related_info(struct dive *dive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue