Jef Driesen 2ba9904757 Fix the OSTC4 diluent changes
The hwos devices support 5 gas mixes for open-circuit and 5 diluents for
CCR dives. Internally, both sets are stored separately, but depending on
the dive mode only one of both sets gets stored in the dive header. The
gas change event contains the index of the corresponding gas mix or
diluent, and should always be in the range 1 to 5.

The OSTC4 behaves a bit different from the other hwOS models and uses
index 6 to 10 for the diluents. That means the index needs to be
adjusted to refer to the correct mix in the dive header.

Reported-by: Michael Keller <github@ike.ch>
2023-02-23 23:46:13 +01:00
..
2021-02-24 12:00:05 +01:00
2019-06-21 16:13:27 +02:00
2023-01-25 13:32:14 +01:00
2023-01-25 13:32:14 +01:00
2017-08-18 23:26:45 +02:00
2023-01-25 14:17:29 +01:00
2023-01-25 14:17:29 +01:00
2023-02-23 23:46:13 +01:00
2019-11-21 11:07:07 +01:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2018-01-30 22:00:41 +01:00
2023-01-25 14:17:29 +01:00
2023-01-25 14:17:29 +01:00
2023-01-25 14:17:29 +01:00
2023-01-25 14:17:29 +01:00
2023-01-25 14:17:29 +01:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2021-03-24 17:17:57 +01:00
2018-03-05 08:44:14 +01:00
2021-02-12 13:54:40 +01:00
2022-12-02 13:45:50 +01:00
2022-06-23 15:56:10 +02:00