Permalink
Browse files

fixed felica initiation bug

  • Loading branch information...
1 parent f1f0ab0 commit 48db3b8e30381d20ea6be9bcf104ffd6503fc26b hiroyuki committed Nov 21, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/nfc/nfc_device.c
View
@@ -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);
}

0 comments on commit 48db3b8

Please sign in to comment.