[PATCH 7/9] Add a missing break after OSTC3 settings write
Anton Lundin
glance at acc.umu.se
Wed Oct 15 16:13:56 PDT 2014
There where 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 at acc.umu.se>
---
configuredivecomputerthreads.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 495db4b..eabf0dc 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:
--
1.9.1
More information about the subsurface
mailing list