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

Typo in conditional expression #3

Closed
adafruit-support opened this issue Oct 19, 2012 · 1 comment
Closed

Typo in conditional expression #3

adafruit-support opened this issue Oct 19, 2012 · 1 comment

Comments

@adafruit-support
Copy link

Line 49 - assignment operator in conditional expression.

if ((len == 1) && (packet[0] = FINGERPRINT_ACKPACKET) && (packet[1] == FINGERPRINT_OK))

should be

if ((len == 1) && (packet[0] == FINGERPRINT_ACKPACKET) && (packet[1] == FINGERPRINT_OK))

http://forums.adafruit.com/viewtopic.php?f=22&t=33118&start=15

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