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

Tumble check: platform-specific settings #1408

Merged

Conversation

matejkarasek
Copy link
Contributor

Tumble-check settings (defining how sensitive the check is) were hard coded in supervisor.c.
This PR allows to make these settings platform-specific and override the default values in platform_defualts_[platform-name].h of each platform.

Further, this PR introduces a persistent parameter, with which the tumble check can be disabled.

@matejkarasek matejkarasek changed the title Tumble check - platform-specific settings Tumble check: platform-specific settings Sep 9, 2024
Copy link
Member

@gemenerik gemenerik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Nice addition.

It would be nice if users can still disable the tumble check altogether in the platform defaults.

src/modules/src/supervisor.c Outdated Show resolved Hide resolved
src/modules/src/supervisor_state_machine.c Show resolved Hide resolved
Copy link
Contributor Author

@matejkarasek matejkarasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All should be resolved

src/modules/src/supervisor_state_machine.c Show resolved Hide resolved
@gemenerik gemenerik merged commit b9f1f96 into bitcraze:master Sep 10, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants