Robert C. Helling e794efaba6 Allow for more O2 sensors
The Divesoft Liberty has four O2 sensors. So far, we had a hard coded
limit of three sensors and crashed with a failed assert when we
encoutered more than three. This allows for up to
MAX_O2_SENSORS which is currently 6. The voting logic is adapted
accordingly: We sort the values and we keep deleting the values that
differ more than 20% by value from the closest. This follows what
Shearwater implements on their computers.

In some of the import/export functions the value is still hard
coded to 6 thanks to explicit field names.

Signed-off-by: Robert C. Helling <helling@lmu.de>
2024-01-23 19:24:53 +01:00
..
2024-01-07 16:01:55 -08:00
2023-04-14 21:20:23 +02:00
2024-01-17 14:23:19 -08:00
2023-04-14 21:20:23 +02:00
2024-01-23 19:24:53 +01:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2023-02-17 06:46:46 -08:00
2017-04-29 13:32:55 -07:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2024-01-17 14:23:19 -08:00
2020-09-29 16:13:03 -07:00
2022-11-08 10:43:47 -08:00
2023-12-29 14:20:52 -08:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2023-06-12 08:04:30 -07:00
2021-07-23 11:22:43 -07:00
2021-07-23 11:22:43 -07:00
2018-10-21 19:55:09 +03:00
2023-04-14 21:20:23 +02:00
2024-01-17 14:23:19 -08:00
2024-01-17 14:23:19 -08:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2022-03-12 08:28:32 -08:00
2024-01-17 14:23:19 -08:00
2024-01-07 16:01:55 -08:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2023-04-14 21:20:23 +02:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2019-12-13 07:04:00 -05:00
2017-04-29 13:32:55 -07:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2022-06-04 14:19:05 -07:00
2024-01-06 10:55:24 -08:00