summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-22 23:03:51 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-22 14:28:59 -0800
commit44dd4df8528f84da7bbcdb6388e2dc9176fb904e (patch)
tree2cac2f25545776bc00882835529c2a8e30648a4c /configuredivecomputerthreads.cpp
parent7c23a0892182e126df570bd8272dd9214d82886d (diff)
downloadsubsurface-44dd4df8528f84da7bbcdb6388e2dc9176fb904e.tar.gz
Enable firmware updates for OSTC3/OSTC Sport
This enables the dormant OSTC3/OSTC Sport firmware update code, now when the hw_ostc3_device_fwupdate call is available in libdivecomputer. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputerthreads.cpp')
-rw-r--r--configuredivecomputerthreads.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 87b4417d2..2e16be632 100644
--- a/configuredivecomputerthreads.cpp
+++ b/configuredivecomputerthreads.cpp
@@ -1380,9 +1380,8 @@ void FirmwareUpdateThread::run()
switch (dc_device_get_type(m_data->device)) {
#if DC_VERSION_CHECK(0, 5, 0)
case DC_FAMILY_HW_OSTC3:
- //Not Yet supported
- //supported = true;
- //rc = hw_ostc3_device_fwupdate(m_data->device, m_fileName.toUtf8().data());
+ supported = true;
+ rc = hw_ostc3_device_fwupdate(m_data->device, m_fileName.toUtf8().data());
break;
case DC_FAMILY_HW_OSTC:
supported = true;