Skip to content

Commit

Permalink
Update lockscreen.mm
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 4, 2024
1 parent 553e83a commit d28acf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/lockscreen.mm
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

bool lockscreen::virtualbike_updateFTMS(UInt16 normalizeSpeed, UInt8 currentResistance, UInt16 currentCadence, UInt16 currentWatt, UInt16 CrankRevolutions, UInt16 LastCrankEventTime)
{
[workoutTracking addMetrics];
[workoutTracking addMetricsWithPower:currentWatt cadence:currentCadence speed:normalizeSpeed];

if(_virtualbike_zwift != nil)
return [_virtualbike_zwift updateFTMSWithNormalizeSpeed:normalizeSpeed currentCadence:currentCadence currentResistance:currentResistance currentWatt:currentWatt CrankRevolutions:CrankRevolutions LastCrankEventTime:LastCrankEventTime];
Expand Down

0 comments on commit d28acf3

Please sign in to comment.