ADD part of mail for pedal device

This commit is contained in:
fastium
2024-12-31 16:02:42 +01:00
parent 36e4a07102
commit 946e86025c
4 changed files with 16 additions and 14 deletions

View File

@@ -191,6 +191,7 @@ void BikeSystem::speedDistanceTask() {
const auto pedalRotationTime = _pedalDevice.getCurrentRotationTime();
_speedometer.setCurrentRotationTime(pedalRotationTime);
_speedometer.setGearSize(getCurrentGearSize());
_currentSpeed = _speedometer.getCurrentSpeed();