mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
e794efaba6
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>
5.4 MiB
5.4 MiB
1 | in_deco | sec | pressure_0_cylinder | pressure_0_interpolated | temperature | depth | ceiling | ceiling_0 | ceiling_1 | ceiling_2 | ceiling_3 | ceiling_4 | ceiling_5 | ceiling_6 | ceiling_7 | ceiling_8 | ceiling_9 | ceiling_10 | ceiling_11 | ceiling_12 | ceiling_13 | ceiling_14 | ceiling_15 | percentage_0 | percentage_1 | percentage_2 | percentage_3 | percentage_4 | percentage_5 | percentage_6 | percentage_7 | percentage_8 | percentage_9 | percentage_10 | percentage_11 | percentage_12 | percentage_13 | percentage_14 | percentage_15 | ndl | tts | rbt | stoptime | stopdepth | cns | smoothed | sac | running_sum | pressureo2 | pressuren2 | pressurehe | o2pressure | o2sensor0 | o2sensor1 | o2sensor2 | o2setpoint | scr_oc_po2 | mod | ead | end | eadd | velocity | speed | in_deco_calc | ndl_calc | tts_calc | stoptime_calc | stopdepth_calc | pressure_time | heartbeat | bearing | ambpressure | gfline | surface_gf | density | icd_warning |
---|
The file is too large to be shown. View raw |