nfc_target_receive_bits() function does not now use pszRxBits as parameter because this function returns it.
This commit is contained in:
parent
239fd750c4
commit
7e7ee3299e
7 changed files with 12 additions and 11 deletions
|
|
@ -172,7 +172,7 @@ main (int argc, char *argv[])
|
|||
|
||||
while (true) {
|
||||
// Test if we received a frame
|
||||
if (nfc_target_receive_bits (pnd, abtRecv, &szRecvBits, NULL) > 0) {
|
||||
if ((szRecvBits = nfc_target_receive_bits (pnd, abtRecv, NULL)) > 0) {
|
||||
// Prepare the command to send back for the anti-collision request
|
||||
switch (szRecvBits) {
|
||||
case 7: // Request or Wakeup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue