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

Enforce max startup power #155

Closed
wants to merge 1 commit into from
Closed

Conversation

damosvil
Copy link
Contributor

@damosvil damosvil commented Aug 3, 2023

This commit aims to enforce limiting startup power to avoid destroying the esc/motor during startup. This has a special effect on crashes because max power was not limited during startup phases.

This bug has been inherited from Blheli_S:
https://github.com/bitdump/BLHeli/blob/20c36c2695c5b5ea855288e0046313688d1367a5/BLHeli_S%20SiLabs/BLHeli_S.asm#L1683

@damosvil damosvil marked this pull request as draft August 3, 2023 16:42
@damosvil damosvil self-assigned this Aug 3, 2023
@damosvil damosvil added this to the v0.21.0 milestone Aug 3, 2023
@damosvil damosvil marked this pull request as ready for review August 3, 2023 17:51
@damosvil damosvil marked this pull request as draft August 3, 2023 17:51
@damosvil damosvil marked this pull request as ready for review August 3, 2023 18:16
@damosvil damosvil requested a review from stylesuxx August 3, 2023 18:16
@damosvil damosvil linked an issue Aug 3, 2023 that may be closed by this pull request
@damosvil damosvil force-pushed the feature/enforce_max_startup_power branch from 1a784fd to 01d19fa Compare August 3, 2023 21:06
@damosvil damosvil added fix and removed feature labels Aug 3, 2023
@damosvil damosvil force-pushed the feature/enforce_max_startup_power branch 2 times, most recently from ee38e96 to 77da5ce Compare August 4, 2023 16:19
@damosvil damosvil marked this pull request as draft August 4, 2023 16:22
@damosvil
Copy link
Contributor Author

damosvil commented Aug 4, 2023

Converted to draft until backport is merged to keep only one commit

…g the esc/motor durign startup. This has an special effect on crashes because max power was not limited during startup phases

Fixed some bugs

Fixed review comments

Fixed review findings

Removed unnecesary initialization in exit_run_mode before jumping to motor_start
@damosvil damosvil force-pushed the feature/enforce_max_startup_power branch from 77da5ce to 5cdffe3 Compare August 10, 2023 21:37
@damosvil damosvil marked this pull request as ready for review August 10, 2023 21:38
@damosvil
Copy link
Contributor Author

Closing because of it will be included in the rebase

@damosvil damosvil closed this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve stall protection
1 participant