summaryrefslogtreecommitdiffstats
path: root/smtk-import
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2017-03-16 17:04:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-18 08:33:31 -0700
commit16d37c254caf99484849bf9e7c8d72da1f3e4faf (patch)
treeb1553760399105464b083bb0ee35d57ae1f0dfe2 /smtk-import
parent20b348579bc206231d81f8c5fd256e656c8409e4 (diff)
downloadsubsurface-16d37c254caf99484849bf9e7c8d72da1f3e4faf.tar.gz
smtk-import - Remove tank number limitation
In the past subsurface managed up to 8 tanks, but now it manages up to 20. SmartTrak manages 10 (3 in older no trimix versions) so there is no more need to drop the last tanks. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'smtk-import')
-rw-r--r--smtk-import/smartrak.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/smtk-import/smartrak.c b/smtk-import/smartrak.c
index 789955654..5e4becd83 100644
--- a/smtk-import/smartrak.c
+++ b/smtk-import/smartrak.c
@@ -858,7 +858,6 @@ void smartrak_import(const char *file, struct dive_table *divetable)
* Revisit data under some circunstances, e.g. a start pressure = 0 may mean
* that dc doesn't support gas control, in this situation let's look into mdb data
*/
- int numtanks = (tanks == 10) ? 8 : 3; // Subsurface supports up to 8 tanks
int pstartcol = coln(PSTART);
int o2fraccol = coln(O2FRAC);
int hefraccol = coln(HEFRAC);