Skip to content

Commit

Permalink
minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomilium committed Jun 7, 2010
1 parent 5b99692 commit 162a123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nfc-eventd.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,7 @@ ned_poll_for_tag(nfc_device_t* nfc_device, tag_t* tag)
sleep ( polling_time );
return ned_select_tag(nfc_device, tag);
break;
case NFC_POLL_HARDWARE:
{
case NFC_POLL_HARDWARE: {
byte_t btPollNr;
const byte_t btPeriod = 2; /* 2 x 150 ms = 300 ms */
const nfc_target_type_t nttMifare = NTT_MIFARE;
Expand Down Expand Up @@ -354,6 +353,7 @@ ned_poll_for_tag(nfc_device_t* nfc_device, tag_t* tag)
}
break;
}
return NULL;
}

int
Expand Down Expand Up @@ -384,7 +384,7 @@ main ( int argc, char *argv[] ) {
* We only stop in case of an error
*
* COMMENT:
* There are no way in libnfc API to detect if a card is present or no
* There are no way in libnfc API to detect if a card is present or not
* so the way we proceed is to look for an tag
* Any ideas will be welcomed
*/
Expand Down

0 comments on commit 162a123

Please sign in to comment.