diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-05-08 16:24:51 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-14 23:47:00 +0300 |
commit | 969dfee9ec088acb942e211cb90329d2b8c0751f (patch) | |
tree | 89571c94dde158e2027108ba3dde7c8468caf351 /core/deco.c | |
parent | 0b836f12fc714f0dfee6303699c9510f4cdf3b17 (diff) | |
download | subsurface-969dfee9ec088acb942e211cb90329d2b8c0751f.tar.gz |
Rename enum dive_comp_type to divemode_t
...as the usuage is not anymore about a computer but
a momentary dive mode. Rename the end indicator as well.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/deco.c')
-rw-r--r-- | core/deco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deco.c b/core/deco.c index b8780557c..5daa45cca 100644 --- a/core/deco.c +++ b/core/deco.c @@ -478,7 +478,7 @@ void calc_crushing_pressure(struct deco_state *ds, double pressure) } /* add period_in_seconds at the given pressure and gas to the deco calculation */ -void add_segment(struct deco_state *ds, double pressure, const struct gasmix *gasmix, int period_in_seconds, int ccpo2, enum dive_comp_type divemode, int sac) +void add_segment(struct deco_state *ds, double pressure, const struct gasmix *gasmix, int period_in_seconds, int ccpo2, enum divemode_t divemode, int sac) { (void) sac; int ci; |