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

Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on first disarm. #9248

Merged
merged 2 commits into from Dec 1, 2019

Conversation

mikeller
Copy link
Member

This makes it possible to detect if we are armed for the first time (ARMING_FLAG(ARMED) && !ARMING_FLAG(WAS_EVER_ARMED)), as used in #9244.

@etracer65
Copy link
Member

Tests are failing.

@mikeller mikeller merged commit 9425831 into betaflight:master Dec 1, 2019
@mikeller mikeller deleted the refactor_was_ever_armed_flag branch December 1, 2019 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants