]> git.tdb.fi Git - ext/subsurface.git/commit
Fix profile and average depth for freedives master
authorMikko Rasa <tdb@tdb.fi>
Wed, 29 Aug 2012 16:10:26 +0000 (19:10 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 29 Aug 2012 16:12:18 +0000 (19:12 +0300)
commitd6b50e30e405433bdb1edad341ee90c65ae65419
treee620ed4f383748b93d6e63eccbc1aacd6f260b47
parent9d46581913ce33664e333a4d6eaf7f4e26e20b1c
Fix profile and average depth for freedives

Freedives can easily exceed the assumed ascent/descent rate, which
results in wacky dive profiles.  Add a check to make the ascent and
descent fit within the duration of the dive.
dive.c
profile.c