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

Small error in nfc.cpp on line 144 #2

Open
allsey87 opened this issue Jul 22, 2014 · 0 comments
Open

Small error in nfc.cpp on line 144 #2

allsey87 opened this issue Jul 22, 2014 · 0 comments

Comments

@allsey87
Copy link

Would suggest line 144 in nfc.cpp:
return (nfc_buf[6] == PN532_COMMAND_SAMCONFIGURATION);

change to:
return (nfc_buf[NFC_FRAME_ID_INDEX] == PN532_COMMAND_SAMCONFIGURATION + 1);

to be consistent with the rest of the code, and so that SAMConfiguration() returns the correct value.

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