diff options
author | Anton Lundin <glance@acc.umu.se> | 2016-12-28 20:56:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-12-28 22:40:18 -0800 |
commit | edce76468682539361af8c08588637cad93d9389 (patch) | |
tree | e85ccbb9b4f34af73c442e3b94a9a8a7e9775be5 /desktop-widgets | |
parent | 3b884c2e7c210961c665bcfc77a58a0a25fa4b38 (diff) | |
download | subsurface-edce76468682539361af8c08588637cad93d9389.tar.gz |
Check for firmware updates on new devices to
The list of OSTC devices have grown, and this updates our lists of for
which devices we should check for firmware updates.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp index 79cdcaf2f..27e385df1 100644 --- a/desktop-widgets/configuredivecomputerdialog.cpp +++ b/desktop-widgets/configuredivecomputerdialog.cpp @@ -227,7 +227,7 @@ OstcFirmwareCheck::OstcFirmwareCheck(QString product) : parent(0) { QUrl url; memset(&devData, 1, sizeof(devData)); - if (product == "OSTC 3") { + if (product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC Cr") { url = QUrl("http://www.heinrichsweikamp.net/autofirmware/ostc3_changelog.txt"); latestFirmwareHexFile = QString("http://www.heinrichsweikamp.net/autofirmware/ostc3_firmware.hex"); } else if (product == "OSTC Sport") { diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 4570a3b7c..2fa68b58e 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -366,7 +366,8 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked() thread->start(); QString product(ui.product->currentText()); - if (product == "OSTC 3" || product == "OSTC Sport") + if (product == "OSTC 3" || product == "OSTC 3+" || + product == "OSTC Cr" || product == "OSTC Sport") ostcFirmwareCheck = new OstcFirmwareCheck(product); } |