From 26071a817b5519fa9cc879bdae20c32e6a644af3 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 3 May 2011 13:19:03 +0000 Subject: [PATCH] drivers/pn53x_usb: enable progressive field on init to allow pn53x-tamashell to works (note: it does not distrib progressive field enabling when nfc_list_passive_target() is used). --- libnfc/drivers/pn53x_usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libnfc/drivers/pn53x_usb.c b/libnfc/drivers/pn53x_usb.c index 448449b..6183a25 100644 --- a/libnfc/drivers/pn53x_usb.c +++ b/libnfc/drivers/pn53x_usb.c @@ -573,9 +573,9 @@ On ASK LoGO hardware: field by switching off the field on PN533 then set P34 to '0'. */ - /* Set P30, P31, P33, P35 to logic 1 and P32, P34 to 0 logic */ - /* ie. Switch LED1 on and turn off progressive field */ - pn53x_write_register (pnd, SFR_P3, 0xFF, _BV (P30) | _BV (P31) | _BV (P33) | _BV (P35)); + /* Set P30, P31, P33, P35, P34 to logic 1 and P32 to 0 logic */ + /* ie. Switch LED1 on and turn on progressive field */ + pn53x_write_register (pnd, SFR_P3, 0xFF, _BV (P30) | _BV (P31) | _BV (P33) | _BV (P34) | _BV (P35)); } return true;