Skip to content

Commit

Permalink
Proform Rower (Proform Sport RL) cannot change resistance from app #1643
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 27, 2023
1 parent 58f6230 commit eab058f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/proformrower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,9 @@ void proformrower::update() {
writeCharacteristic(noOpData2, sizeof(noOpData2), QStringLiteral("noOp"));
break;
case 2:
writeCharacteristic(noOpData3, sizeof(noOpData3), QStringLiteral("noOp"), false, proform_rower_sport_rl);
writeCharacteristic(noOpData3, sizeof(noOpData3), QStringLiteral("noOp"));
break;
case 3:
if (requestResistance != -1 && proform_rower_sport_rl) {
if (requestResistance != currentResistance().value() && requestResistance >= 0 &&
requestResistance <= max_resistance) {
Expand All @@ -360,8 +362,6 @@ void proformrower::update() {
}
requestResistance = -1;
}
break;
case 3:
writeCharacteristic(noOpData4, sizeof(noOpData4), QStringLiteral("noOp"), true);
if (requestResistance != -1 && !proform_rower_sport_rl) {
if (requestResistance != currentResistance().value() && requestResistance >= 0 &&
Expand Down

0 comments on commit eab058f

Please sign in to comment.