mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add maxdepth back to the dive structure
Populate during dive fixup as the maximum depth shown by all the divecomputers. Use this value (instead of the one in the first divecomputer) in printing, statistics, etc. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b8c7992bbf
commit
1511271201
6 changed files with 19 additions and 17 deletions
1
dive.h
1
dive.h
|
|
@ -321,6 +321,7 @@ struct dive {
|
|||
|
||||
/* Calculated based on dive computer data */
|
||||
temperature_t mintemp, maxtemp;
|
||||
depth_t maxdepth;
|
||||
pressure_t surface_pressure;
|
||||
int salinity; // kg per 10000 l
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue