From 16d37c254caf99484849bf9e7c8d72da1f3e4faf Mon Sep 17 00:00:00 2001 From: Salvador Cuñat Date: Thu, 16 Mar 2017 17:04:14 +0100 Subject: smtk-import - Remove tank number limitation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- smtk-import/smartrak.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2