diff options
-rw-r--r-- | configuredivecomputerthreads.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp index 34b2a4b6c..3b32a4c2b 100644 --- a/configuredivecomputerthreads.cpp +++ b/configuredivecomputerthreads.cpp @@ -106,10 +106,6 @@ static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time } #endif -ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data) -{ -} - static int read_ostc_cf(unsigned char data[], unsigned char cf) { return data[128 + (cf % 32) * 4 + 3] << 8 ^ data[128 + (cf % 32) * 4 + 2]; @@ -1385,6 +1381,10 @@ static dc_status_t write_ostc_settings(dc_device_t *device, DeviceDetails *m_dev return rc; } +ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data) +{ +} + void ReadSettingsThread::run() { bool supported = false; |