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

Backport/Enforce max startup power #156

Merged
merged 1 commit into from
Aug 7, 2023

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 an 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 self-assigned this Aug 3, 2023
@damosvil damosvil requested a review from stylesuxx August 3, 2023 21:19
@damosvil damosvil added the fix label Aug 3, 2023
@damosvil damosvil added this to the v0.20.1 milestone Aug 3, 2023
@damosvil damosvil linked an issue Aug 3, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Aug 3, 2023

Build artifacts:

src/Bluejay.asm Outdated Show resolved Hide resolved
src/Bluejay.asm Outdated Show resolved Hide resolved
src/Bluejay.asm Show resolved Hide resolved
src/Bluejay.asm Show resolved Hide resolved
@damosvil damosvil force-pushed the backport/enforce_max_startup_power branch from 91805a9 to 28ab230 Compare August 4, 2023 15:53
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Build artifacts:

@damosvil damosvil force-pushed the backport/enforce_max_startup_power branch from 28ab230 to bfdd192 Compare August 4, 2023 16:04
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Build artifacts:

…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 backport/enforce_max_startup_power branch from bfdd192 to 4a8b807 Compare August 4, 2023 16:16
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Build artifacts:

@stylesuxx stylesuxx changed the base branch from develop to v0.20.1 August 7, 2023 18:07
@stylesuxx stylesuxx merged commit 02bd04c into v0.20.1 Aug 7, 2023
@stylesuxx stylesuxx deleted the backport/enforce_max_startup_power branch July 23, 2024 10:10
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
2 participants