mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove debug code
This debug code was accidentally added in b2f4896f
("Whitespace cleanup")
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3da8797e71
commit
266c3f9aa2
1 changed files with 0 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
||||||
#include "configuredivecomputerthreads.h"
|
#include "configuredivecomputerthreads.h"
|
||||||
#include "libdivecomputer/hw.h"
|
#include "libdivecomputer/hw.h"
|
||||||
#include <QDebug>
|
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
@ -101,7 +100,6 @@ static dc_status_t local_hw_ostc_device_eeprom_write(void *ignored, unsigned cha
|
||||||
|
|
||||||
static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time)
|
static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time)
|
||||||
{
|
{
|
||||||
qDebug() << "Setting OSTC time";
|
|
||||||
return DC_STATUS_SUCCESS;
|
return DC_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1518,17 +1516,14 @@ FirmwareUpdateThread::FirmwareUpdateThread(QObject *parent, device_data_t *data,
|
||||||
|
|
||||||
void FirmwareUpdateThread::run()
|
void FirmwareUpdateThread::run()
|
||||||
{
|
{
|
||||||
qDebug() << "in FirmwareUpdateThread::run";
|
|
||||||
bool supported = false;
|
bool supported = false;
|
||||||
dc_status_t rc;
|
dc_status_t rc;
|
||||||
rc = dc_device_open(&m_data->device, m_data->context, m_data->descriptor, m_data->devname);
|
rc = dc_device_open(&m_data->device, m_data->context, m_data->descriptor, m_data->devname);
|
||||||
qDebug() << "got" << rc << "as return for dc_device_open of" << m_data->devname;
|
|
||||||
if (rc == DC_STATUS_SUCCESS) {
|
if (rc == DC_STATUS_SUCCESS) {
|
||||||
switch (dc_device_get_type(m_data->device)) {
|
switch (dc_device_get_type(m_data->device)) {
|
||||||
#if DC_VERSION_CHECK(0, 5, 0)
|
#if DC_VERSION_CHECK(0, 5, 0)
|
||||||
case DC_FAMILY_HW_OSTC3:
|
case DC_FAMILY_HW_OSTC3:
|
||||||
supported = true;
|
supported = true;
|
||||||
qDebug() << "it's an OSTC3, let's do it!";
|
|
||||||
rc = hw_ostc3_device_fwupdate(m_data->device, m_fileName.toUtf8().data());
|
rc = hw_ostc3_device_fwupdate(m_data->device, m_fileName.toUtf8().data());
|
||||||
break;
|
break;
|
||||||
case DC_FAMILY_HW_OSTC:
|
case DC_FAMILY_HW_OSTC:
|
||||||
|
|
Loading…
Add table
Reference in a new issue