mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Be more consistent in partial pressure naming
Lets just use pO₂ instead of PO2, ppO2, ppO₂, PO₂. They all mean the same, but it's better to be consistent Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21916d67de
commit
630ec88dd4
19 changed files with 59 additions and 60 deletions
|
@ -600,11 +600,11 @@ bool DivePlannerPointsModel::addGas(struct gasmix mix)
|
|||
if (cylinder_nodata(cyl)) {
|
||||
fill_default_cylinder(cyl);
|
||||
cyl->gasmix = mix;
|
||||
/* The depth to change to that gas is given by the depth where its pO2 is 1.6 bar.
|
||||
/* The depth to change to that gas is given by the depth where its pO₂ is 1.6 bar.
|
||||
* The user should be able to change this depth manually. */
|
||||
pressure_t modppO2;
|
||||
modppO2.mbar = 1600;
|
||||
cyl->depth = gas_mod(&mix, modppO2);
|
||||
pressure_t modpO2;
|
||||
modpO2.mbar = 1600;
|
||||
cyl->depth = gas_mod(&mix, modpO2);
|
||||
CylindersModel::instance()->setDive(stagingDive);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue