Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't reset watt when starting #404

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

morteako
Copy link
Collaborator

Don't reset watt to 0/FreeMode when pressing start with no active workout.

Fixes confusing case:
I want to ride ~1 hour at 180W.
I connect my trainer.
I set my watt to 180W.
I click start.
My watt target is changed to Free mode?

Current prod - resets

2024-10-13 11 25 03

This PR - no reset

2024-10-13 11 25 39

@@ -205,17 +206,6 @@ export const ActiveWorkoutContextProvider = ({
dispatchActiveWorkoutAction({ type: 'PAUSE', setResistance, activeFtp });
};

const syncResistanceIfActive = () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant