From bdadf6c1515e8a6d8ea29e4b98f7afab0bea1f08 Mon Sep 17 00:00:00 2001 From: henryk Date: Tue, 18 Mar 2008 16:10:37 +0000 Subject: this would be the more correct parity value git-svn-id: https://svn.openpcd.org:2342/trunk@468 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/iso14443a_diffmiller.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openpicc/application/iso14443a_diffmiller.c b/openpicc/application/iso14443a_diffmiller.c index 0c00107..91145cd 100644 --- a/openpicc/application/iso14443a_diffmiller.c +++ b/openpicc/application/iso14443a_diffmiller.c @@ -166,6 +166,7 @@ static inline void end_frame(struct diffmiller_state * const state, const u_int3 append_to_frame(state, state->byte, 0, counter); } + state->frame->parameters.a.parity = GIVEN_PARITY; if(!state->crc) state->frame->parameters.a.crc = CRC_OK; else -- cgit v1.2.3