diff options
-rw-r--r-- | dive.c | 2 | ||||
-rw-r--r-- | parse-xml.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1074,7 +1074,7 @@ static void add_initial_gaschange(struct dive *dive, struct divecomputer *dc) he = (he + 5) / 10; value = o2 + (he << 16); - add_event(dc, 0, 11, 0, value, "gaschange"); + add_event(dc, 0, 25, 0, value, "gaschange"); /* SAMPLE_EVENT_GASCHANGE2 */ } static void dc_cylinder_renumber(struct dive *dive, struct divecomputer *dc, int mapping[]) diff --git a/parse-xml.c b/parse-xml.c index aa2f737ec..5c031fcac 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -776,7 +776,7 @@ void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int second he = (he+5) / 10; value = o2 + (he << 16); - add_event(dc, seconds, 11, 0, value, "gaschange"); + add_event(dc, seconds, 25, 0, value, "gaschange"); /* SAMPLE_EVENT_GASCHANGE2 */ } static void get_cylinderindex(char *buffer, void *_i) |