-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Ftms wheel diamater for gears #2715
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 0f14944.
void ftmsbike::setWheelDiameter(double diameter) { | ||
uint8_t write[] = {FTMS_SET_WHEEL_CIRCUMFERENCE, 0x00, 0x00}; | ||
|
||
diameter = diameter * 10.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why setting circumference as diameter*10, no mistake here?
No, it's the specification
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 1 nov 2024 alle 02:10 Alexey Babenko ***@***.***>
ha scritto:
… ***@***.**** commented on this pull request.
------------------------------
In src/devices/ftmsbike/ftmsbike.cpp
<#2715 (comment)>
:
> @@ -170,6 +172,18 @@ void ftmsbike::zwiftPlayInit() {
}
}
+void ftmsbike::setWheelDiameter(double diameter) {
+ uint8_t write[] = {FTMS_SET_WHEEL_CIRCUMFERENCE, 0x00, 0x00};
+
+ diameter = diameter * 10.0;
Why setting circumference as diameter*10, no mistake here?
—
Reply to this email directly, view it on GitHub
<#2715 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWH3JK2V7B346CXRM7DZ6LIGPAVCNFSM6AAAAABQ4KCDXOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMBZGMZDANBYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.