mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Some gas handling improvements
Add a time linear gas interpolation strategy. Some minor changes. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5034f76072
commit
84dc8b8962
5 changed files with 38 additions and 25 deletions
4
dive.c
4
dive.c
|
@ -1062,8 +1062,8 @@ unsigned int dc_airtemp(struct divecomputer *dc)
|
|||
|
||||
static void fixup_cylinder_use(struct dive *dive) // for CCR dives, store the indices
|
||||
{ // of the oxygen and diluent cylinders
|
||||
dive->oxygen_cylinder_index = get_cylinder_use(dive, oxygen);
|
||||
dive->diluent_cylinder_index = get_cylinder_use(dive, diluent);
|
||||
dive->oxygen_cylinder_index = get_cylinder_use(dive, OXYGEN);
|
||||
dive->diluent_cylinder_index = get_cylinder_use(dive, DILUENT);
|
||||
}
|
||||
|
||||
static void fixup_airtemp(struct dive *dive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue