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

Can't set max gate to zero in example setup program #28

Open
svdasein opened this issue Apr 6, 2024 · 1 comment
Open

Can't set max gate to zero in example setup program #28

svdasein opened this issue Apr 6, 2024 · 1 comment

Comments

@svdasein
Copy link

svdasein commented Apr 6, 2024

In your example you have

if(newMovingMaxDistance > 0 && newStationaryMaxDistance > 0 && newMovingMaxDistance <= 8 && newStationaryMaxDistance <= 8)

This seems to properly limit gate selection to a maximum of 8, but - gate 0 is a valid maximum isn't it?

@jenschr
Copy link

jenschr commented May 8, 2024

Yes. This is however more like a support question for one of the two example files, rather than an issue with the library?

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

No branches or pull requests

2 participants