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
..
2017-05-06 10:31:09 -07:00
2020-05-04 13:39:18 -07:00
2015-11-12 07:39:21 -08:00
2021-08-18 13:22:02 -07:00
2018-01-08 06:06:12 +02:00
2015-03-10 10:03:08 -07:00
2024-01-23 19:24:53 +01:00
2024-01-23 19:24:53 +01:00
2020-01-24 09:51:51 -08:00
2020-01-24 09:51:51 -08:00
2021-08-18 13:22:02 -07:00
2015-04-04 12:25:52 -07:00
2015-04-04 12:25:52 -07:00
2017-02-09 22:22:12 -08:00
2014-11-01 22:13:03 -07:00
2014-11-01 22:13:03 -07:00
2013-12-02 12:33:47 -08:00
2015-06-11 10:31:11 -07:00
2014-01-01 09:48:15 -08:00
2016-04-29 09:07:41 -07:00
2014-01-08 21:54:29 +08:00
2014-01-21 14:07:10 -08:00
2014-07-15 20:46:02 -07:00
2014-07-15 20:46:02 -07:00
2014-07-15 20:46:02 -07:00
2013-12-04 19:41:29 -08:00
2013-12-12 16:29:06 -08:00
2013-12-28 07:40:54 -08:00
2014-02-06 11:29:23 -08:00
2014-03-15 15:01:08 -07:00
2014-04-05 16:12:16 -07:00
2014-04-07 14:20:01 -07:00
2014-06-11 19:03:30 -07:00
2014-07-29 15:43:52 -07:00
2014-11-07 12:59:15 -08:00
2021-11-24 11:03:51 -08:00
2014-11-17 00:24:33 +00:00
2015-04-24 07:07:31 -07:00
2015-03-14 18:15:08 -07:00
2015-03-16 12:42:36 -07:00
2017-02-21 13:14:56 -08:00
2021-02-26 08:42:30 -08:00
2021-02-26 08:42:30 -08:00
2015-10-06 14:40:33 +01:00
2015-10-06 14:40:33 +01:00
2019-04-12 18:19:07 +03:00
2021-02-26 08:42:30 -08:00
2015-02-14 18:13:35 -08:00
2018-10-30 15:33:43 +01:00
2020-02-09 14:41:43 -08:00
2020-02-09 14:41:43 -08:00
2019-05-15 07:37:14 -07:00
2020-02-09 14:41:43 -08:00
2021-02-26 08:42:30 -08:00
2021-08-18 13:22:02 -07:00
2017-11-27 13:42:10 -08:00
2021-08-18 13:22:02 -07:00
2014-02-25 12:28:49 -08:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2014-10-28 07:25:34 -07:00
2021-08-18 13:22:02 -07:00
2021-08-19 10:58:08 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2015-07-28 08:46:51 -07:00
2020-09-04 15:54:08 +03:00
2015-07-13 15:21:30 -07:00
2022-03-12 11:26:05 -08:00
2014-01-17 05:57:29 +07:00
2013-12-24 10:43:29 -08:00
2015-08-30 10:32:38 -07:00
2017-02-09 22:22:12 -08:00