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

Give Queue a function to increment the index and wrap as needed. #3

Closed
csm10495 opened this issue Jul 20, 2017 · 1 comment
Closed

Comments

@csm10495
Copy link
Owner

Right now the math seems like it would be duplicated sooner or later.

@csm10495
Copy link
Owner Author

Saw this in the loop in checkForChanges() for the Controller. Right now we'll only do one command even if the doorbell register indicates that the gap is larger.

csm10495 added a commit that referenced this issue Jul 29, 2017
…l upward more than once. The Queue is much smarterf now and can increment it's head with wrap around.
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

1 participant