Skip to content

Commit

Permalink
[Cleanup] Silence onRefreshTimer, reconnectionTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
nephros committed Jan 26, 2024
1 parent 50e92f4 commit e7384d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion daemon/src/deviceinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ void DeviceInterface::requestManualHeartrate()

void DeviceInterface::onRefreshTimer()
{
qDebug() << "DeviceInterface::onRefreshTimer";
//qDebug() << Q_FUNC_INFO;

auto config = AmazfishConfig::instance();

Expand Down
3 changes: 2 additions & 1 deletion daemon/src/devices/abstractdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ void AbstractDevice::disconnectFromDevice()

void AbstractDevice::reconnectionTimer()
{
qDebug() << "AbstractDevice::reconnectionTimer";
//qDebug() << Q_FUNC_INFO;

if ((!deviceProperty("Connected").toBool() && m_autoreconnect) || connectionState() == "authfailed") {
qDebug() << "Lost connection";
QBLEDevice::disconnectFromDevice();
Expand Down

0 comments on commit e7384d6

Please sign in to comment.