aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-16 01:13:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-16 11:10:18 +0200
commit556474e4dd33fcba58d94d5439d3f4279fc3d9a6 (patch)
treeb07531c7c47c3b9312f8dca156d2a6f936e6d276
parentd025d5bbb6d8d912dfc43a9da1ce6b435eec1be0 (diff)
downloadsubsurface-556474e4dd33fcba58d94d5439d3f4279fc3d9a6.tar.gz
Add a missing break after OSTC3 settings write
There was a missing break after writing the settings to the OSTC3. It caused us to fall down into the default case and saying that the operation was unsupported. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--configuredivecomputerthreads.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 495db4bf5..eabf0dcbf 100644
--- a/configuredivecomputerthreads.cpp
+++ b/configuredivecomputerthreads.cpp
@@ -684,6 +684,7 @@ void WriteSettingsThread::run()
time.second = timeToSet.time().second();
hw_ostc3_device_clock(m_data->device, &time);
}
+ break;
}
#endif // divecomputer 0.5.0
default: