Skip to content

Commit

Permalink
Watts Stuck at Max…not going down to 0 (Issue #3025)
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 12, 2025
1 parent 5a7bb8b commit 1dcd35e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/devices/proformwifibike/proformwifibike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ void proformwifibike::characteristicChanged(const QString &newValue) {
m_watt = watt;
emit debug(QStringLiteral("Current Watt: ") + QString::number(watts()));
}
} else {
qDebug() << "watt to 0 due to cadence = 0";
m_watt = 0;
emit debug(QStringLiteral("Current Watt: ") + QString::number(watts()));
}

if (!values[QStringLiteral("Actual Incline")].isUndefined()) {
Expand Down

0 comments on commit 1dcd35e

Please sign in to comment.