[PATCH 0/4] Misc cylinder pressure handling fixes

Linus Torvalds torvalds at linux-foundation.org
Fri Jul 28 11:57:50 PDT 2017


Ok, this is my current series from looking at what I might have missed, 
thanks to the reports from Jan and Davide.

The first two patches are just a split-up of the patch I sent and that Jan 
already tested.

The second two patches are misc fixes for things I noticed while trying to 
check what else I might have missed. The last one in particular is a brown 
paper bag thing, where we didn't handle the *simple* case right because 
none of the dives I had been testing had been the trivial case with just a 
single cylinder with manual cylinder pressures..

Linus Torvalds (4):
  Add "get_gasmix()" helper function to iterate over gas changes
  Use the right gasmix for deco calculations
  Calculate momentary SAC rates with the right gases
  Fix manual pressures for cylinders with no gas switches

 core/dive.c     |   2 +-
 core/dive.h     |  20 ++++++-
 core/divelist.c |   7 ++-
 core/profile.c  | 169 ++++++++++++++++++++++++++++++++++++++------------------
 4 files changed, 139 insertions(+), 59 deletions(-)

-- 
2.13.1.518.g0d864c4df



More information about the subsurface mailing list