mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
fix up sample sensor indexes before fixing up cylinder pressures
The cylinder pressure fixup depends on the sample sensors indexes having been fixed. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
77a5ca4234
commit
3446dd5125
1 changed files with 3 additions and 3 deletions
|
@ -1240,12 +1240,12 @@ static void fixup_dive_dc(struct dive *dive, struct divecomputer *dc)
|
|||
/* Fix up gas switch events */
|
||||
fixup_dc_gasswitch(dive, dc);
|
||||
|
||||
/* Fix up cylinder pressures based on DC info */
|
||||
fixup_dive_pressures(dive, dc);
|
||||
|
||||
/* Fix up cylinder ids in pressure sensors */
|
||||
fixup_dc_sample_sensors(dc, dive->cylinders.nr);
|
||||
|
||||
/* Fix up cylinder pressures based on DC info */
|
||||
fixup_dive_pressures(dive, dc);
|
||||
|
||||
fixup_dc_events(dc);
|
||||
|
||||
/* Fixup CCR / PSCR dives with o2sensor values, but without no_o2sensors */
|
||||
|
|
Loading…
Reference in a new issue