Skip to content

Commit

Permalink
Update proformtelnetbike.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein authored Dec 27, 2023
1 parent 2c71206 commit 76deb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proformtelnetbike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void proformtelnetbike::characteristicChanged(const char *buff, int len) {
}
} else if (newValue.contains("Cur KPH")) {
if (!settings.value(QZSettings::speed_power_based, QZSettings::default_speed_power_based).toBool()) {
double kph = packet[3].toDouble();
double kph = packet[3].toDouble() / 10.0;
Speed = kph;
emit debug(QStringLiteral("Current Speed: ") + QString::number(Speed.value()));
} else {
Expand Down

0 comments on commit 76deb91

Please sign in to comment.