Merge pull request #72 from lunixoid/master

Fixed missprint
This commit is contained in:
Romain Tartière 2017-10-30 08:43:07 +01:00 committed by GitHub
commit 9d1d5f13a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -526,7 +526,7 @@ mifare_classic_transfer(FreefareTag tag, const MifareClassicBlockNumber block)
* meaning that the action was performed correctly (e.g. Snapper Feeder, * meaning that the action was performed correctly (e.g. Snapper Feeder,
* SCL 3711). * SCL 3711).
*/ */
if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] = MC_OK))) if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] == MC_OK)))
return 0; return 0;
else else
return res[0]; return res[0];