Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed felica initiation bug

  • Loading branch information...
commit 48db3b8e30381d20ea6be9bcf104ffd6503fc26b 1 parent f1f0ab0
@hryk hryk authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  ext/nfc/nfc_device.c
View
3  ext/nfc/nfc_device.c
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.