diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-14 04:55:15 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-14 04:55:15 +0000 |
commit | e2e37bea66206adefbb2fc97fcbfb71c1a3cfbe7 (patch) | |
tree | 8e1edc0418be46c82e59e5782c9534ebf3d5651c /openpicc/application/openpicc.h | |
parent | 9615190a75ab0304d37701e97947ffe36be2d345 (diff) |
Add T/C based receiver code with integrated miller decoder
Integrate T/C receiver into iso14443 layer 2a
Add state field to iso14443_frame, rename ssc buffer state constants
Sniffer seems to work with the new code
git-svn-id: https://svn.openpcd.org:2342/trunk@452 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/openpicc.h')
-rw-r--r-- | openpicc/application/openpicc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpicc/application/openpicc.h b/openpicc/application/openpicc.h index b4d2b7a..17cb4ee 100644 --- a/openpicc/application/openpicc.h +++ b/openpicc/application/openpicc.h @@ -39,5 +39,6 @@ typedef int s_int32_t; #define DA_BASELINE 200 #define DIV_ROUND_UP(a,b) ( (a+(b-1)) / b) +#define MIN(a, b) ((a)>(b)?(b):(a)) #endif/*__OPENPICC_H__*/ |