From a41d6fbfb2c7a46f3ade052d964331c9c4874807 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 19 Mar 2019 10:26:52 +0100 Subject: [PATCH] style --- armsrc/felica.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/felica.c b/armsrc/felica.c index 190960bd4..f220a8a24 100644 --- a/armsrc/felica.c +++ b/armsrc/felica.c @@ -611,13 +611,13 @@ void felica_sniff(uint32_t samplesToSkip, uint32_t triggersToSkip) { #define R_READBLK_LEN 0x21 //simulate NFC Tag3 card - for now only poll response works // second half (4 bytes) of NDEF2 goes into nfcid2_0, first into nfcid2_1 -void felica_sim_lite(uint64_t nfcid) { +void felica_sim_lite(uint64_t uid) { int i, curlen = 0; uint8_t *curresp = 0; uint8_t ndef[8]; - num_to_bytes(nfcid, 8, ndef); + num_to_bytes(uid, 8, ndef); //prepare our 3 responses... uint8_t resp_poll0[R_POLL0_LEN] = { 0xb2, 0x4d, 0x12, FELICA_POLL_ACK, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf1, 0x00, 0x00, 0x00, 0x01, 0x43, 0x00, 0xb3, 0x7f};