From 969dfee9ec088acb942e211cb90329d2b8c0751f Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 8 May 2018 16:24:51 +0200 Subject: 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 --- core/deco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/deco.c') 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; -- cgit v1.2.3-70-g09d2