summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-20 22:58:25 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-20 18:12:37 -0700
commit856ec092b73acc8bc7942beb2e040647c848a354 (patch)
tree9e55b75787f2a6994f0ab1f40c2479d4c4370f75 /qt-ui/configuredivecomputerdialog.cpp
parent02dcae3eca69447f2f51e258fccb6081d261c544 (diff)
downloadsubsurface-856ec092b73acc8bc7942beb2e040647c848a354.tar.gz
Configure support for OSTC, Mk.2/2N/2C
First out is firmware updates. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp
index 781a0e633..fd1edfe31 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -622,6 +622,11 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr
selected_product = "Vyper";
ui.updateFirmwareButton->setEnabled(false);
break;
+ case 2:
+ selected_vendor = "Heinrichs Weikamp";
+ selected_product = "OSTC 2N";
+ ui.updateFirmwareButton->setEnabled(true);
+ break;
default:
/* Not Supported */
return;