Micha WERLE 4842344bc1 feat: extend bottom gas instead of last mix
During code review, an argument was made to use the bottom gas mix as
the mix to fill additional tanks with instead of the last mix reported
by the dive computer.

This change implements `get_deeper_gasmix` which compares two gas mixes
and returns the one with the lower MOD. This comparison does not perform
actual MOD calculations but only performs a  relative oxygen and helium
content comparison.

Instead of saving the last gas mix and assigning it to additional tanks,
a `bottom_gas` mix is saved and assigned instead.

Signed-off-by: Micha WERLE <micha@michaelwerle.com>
2023-11-21 22:30:45 +13: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-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
2021-07-23 11:22:43 -07:00
2023-04-14 21:20:23 +02:00
2020-09-29 16:13:03 -07:00
2022-11-08 10:43:47 -08: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-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
2022-03-13 15:07:33 -07:00
2022-03-12 08:28:32 -08:00
2021-07-23 11:16:00 -07: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
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