From 4259f595ec6e6af1f812a28daa56414ecc3e8df3 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sun, 26 Jun 2011 14:43:11 +0000 Subject: [PATCH] Initialize DEP mode (nt.nti.ndi.ndm) to NDM_UNDEFINED. --- examples/nfc-dep-target.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/nfc-dep-target.c b/examples/nfc-dep-target.c index d5d67f5..19eede6 100644 --- a/examples/nfc-dep-target.c +++ b/examples/nfc-dep-target.c @@ -96,6 +96,7 @@ main (int argc, const char *argv[]) .abtNFCID3 = { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xff, 0x00, 0x00 }, .szGB = 4, .abtGB = { 0x12, 0x34, 0x56, 0x78 }, + .ndm = NDM_UNDEFINED, /* These bytes are not used by nfc_target_init: the chip will provide them automatically to the initiator */ .btDID = 0x00, .btBS = 0x00,