-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix ESC-Sensor RPM #13286
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
Fix ESC-Sensor RPM #13286
Conversation
Do you want to test this code? You can flash it directly from Betaflight Configurator:
WARNING: It may be unstable. Use only for testing! |
@sniperxnl please test |
THanks @haslinghuis It works |
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.
You can do this instead to fix the issue for 4.5 without opening a whole new can of worms. Take a look at my example commit: But looks like we need to do some refactoring for 4.6 to split |
2422cf0
to
2dde3e1
Compare
Yes agree this is not the time for a refactoring. Only bug fixes now until after release. |
AUTOMERGE: (FAIL)
|
8c2583b
to
02b1948
Compare
42245e2
to
6cfaa44
Compare
|
Do i need to reflash FC with #13286 again? |
Flashed and still works, yesterday we flown with the first version and no problems at all. All works great |
* Fix ESC-Sensor RPM * Fixes per review from KarateBrot * Fixes per review from NerdCopter * Forgot to add init.c
* Fix ESC-Sensor RPM * Fixes per review from KarateBrot * Fixes per review from NerdCopter * Forgot to add init.c
* Fix ESC-Sensor RPM * Fixes per review from KarateBrot * Fixes per review from NerdCopter * Forgot to add init.c
erpmToHz
was not intialized forESC_SENSOR
.Just a simple fix as we need to refactor this later on as
ESC_SENSOR
should not be dependent onDSHOT
but seems it has been that for 5 years alreadyIDK if
ONESHOT
orMULTISHOT
providesESC_SENSOR
telemetry in the first place.