Skip to content

Commit

Permalink
Wahoo Blue SC without a heart rate monitor. #1651
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 18, 2023
1 parent 1afff6a commit 14546d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ uint16_t bike::wattFromHR(bool useSpeedAndCadence) {
} else {
watt = 0;
}
} else {
watt = currentCadence().value() * 1.2; // random value cloned from Zwift when HR is not available
}
return watt;
}

0 comments on commit 14546d4

Please sign in to comment.