-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Updated Actual default values #2502
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
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
| } else if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) { | ||
| rcRateDefault = (70).toFixed(0); | ||
| rateDefault = (670).toFixed(0); | ||
| expoDefault = (0).toFixed(2); |
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.
We have default values in this file? I didn't notice it before. I thought all the defaults were at fc.js.
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.
yes it is designed like that in the @fgiudice98 original code for Rate types.
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.
Thougth that we never had Rate defaults in fc.js
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.
I don't like the way it is, but changing it now is outside of the scope of this PR, so to me is ok.
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.
Maybe we can made this change for next PR's yes, i think it make sense.
This PR updates new Actual default values to go with betaflight/betaflight#10724