Skip to content

Fix bug in goto example code #367

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

Merged
merged 1 commit into from
May 21, 2018
Merged

Fix bug in goto example code #367

merged 1 commit into from
May 21, 2018

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented May 19, 2018

Because byte is an unsigned type, the comparison to -1 was always true, which meant that for loop never exited.

Because byte is an unsigned type, the comparison to -1 was always true, which meant that for loop never exited.
@SimonePDA SimonePDA merged commit 971576d into arduino:master May 21, 2018
@per1234 per1234 deleted the fix-goto-bug branch May 21, 2018 10:53
Copy link
Contributor

@sebuls sebuls left a comment

Choose a reason for hiding this comment

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

-1 to 0

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