Skip to content

Commit

Permalink
fixed felica initiation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyuki committed Nov 21, 2009
1 parent f1f0ab0 commit 48db3b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/nfc/nfc_device.c
Expand Up @@ -68,8 +68,7 @@ static VALUE dev_select(VALUE self, VALUE tag)

tag_info * ti = calloc(1, sizeof(tag_info));

if (nfc_initiator_select_tag(dev, IM_FELICA_212, abtFelica, 5, ti) ||
nfc_initiator_select_tag(dev, IM_FELICA_424, abtFelica, 5, ti)) {
if (nfc_initiator_select_tag(dev, IM_FELICA_212, abtFelica, 5, ti) || nfc_initiator_select_tag(dev, IM_FELICA_424, abtFelica, 5, ti)) {
return Data_Wrap_Struct(cNfcFelica, 0, free, ti);
}

Expand Down

0 comments on commit 48db3b8

Please sign in to comment.