diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-08 09:29:07 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-08 09:33:47 -0800 |
commit | fc8b37d86b1409c36140e03becdfd163a68ac69e (patch) | |
tree | cb518aad8e39b7962a4878d32d91eb803531eaf0 /windows.c | |
parent | 67d59ff0181f4dccdd46923d53cda7902f279a57 (diff) | |
download | subsurface-fc8b37d86b1409c36140e03becdfd163a68ac69e.tar.gz |
Clean up the rewritten deco.c
In commit a7902f279a57 "Rewrite of the deco code" Robert kept the old code
that he replaced around; I removed all that as it's in the git history if
we ever need to look at it again but doesn't really help us in the file as
it is.
I also removed constants, variables and config parameters that aren't used
in the new implementation and did some coding style / formatting changes
to make deco.c more consistent with the rest of Subsurface. I also updated
the comments at the top of the file to reflect reality.
I did one change that actually affects the code. In the explanation of his
changes Robert said that gf_low_pressure_this_dive is initialized to the
exquivalent of 20m, yet his code added the surface pressure twice. I
decided to change the default config value from 3 (bar) to 2 so that this
indeed reflects (about) 20m (as in the code below surface_pressure is
added to this value).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
0 files changed, 0 insertions, 0 deletions