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

Add modulus operator support #6699

Merged
merged 2 commits into from
Mar 12, 2021

Conversation

MingchenZhang
Copy link
Contributor

Programing feature is very useful in de-multiplexing multiplexed channel. Multiplexed channel could help increase number of switches on a receiver with limited channel number.
Adding a modulus operator makes the de-multiplexing much more straightforward. This could save one operator comparing to doing a division, multiplication and subtraction to get next significant "digit".

@MingchenZhang
Copy link
Contributor Author

iNavFlight/inav-configurator#1196 is the configurator side pull request.

src/main/programming/logic_condition.h Outdated Show resolved Hide resolved
@DzikuVx DzikuVx added this to the 2.7 milestone Mar 12, 2021
@DzikuVx DzikuVx merged commit ad3dfac into iNavFlight:master Mar 12, 2021
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.

3 participants