From 556474e4dd33fcba58d94d5439d3f4279fc3d9a6 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 16 Oct 2014 01:13:56 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- configuredivecomputerthreads.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3-70-g09d2