summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443a_diffmiller.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-05-22 04:52:19 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-05-22 04:52:19 +0000
commit3e2456c73464a3e53d96c865a7464d7c5e8fae7e (patch)
tree3060b2739006f2e7cf2673a47c2ed6552788a261 /openpicc/application/iso14443a_diffmiller.c
parent2d8b2c3088a65a5a724c6d52f9d32c3045c3a0f8 (diff)
Make the diffmiller decoder a __ramfunc. Should severely increase decoder speed (needs testing), but takes up 4k of RAM
git-svn-id: https://svn.openpcd.org:2342/trunk@477 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443a_diffmiller.c')
-rw-r--r--openpicc/application/iso14443a_diffmiller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/application/iso14443a_diffmiller.c b/openpicc/application/iso14443a_diffmiller.c
index 91145cd..e906781 100644
--- a/openpicc/application/iso14443a_diffmiller.c
+++ b/openpicc/application/iso14443a_diffmiller.c
@@ -255,7 +255,7 @@ static inline void end_frame(struct diffmiller_state * const state, const u_int3
}
-int iso14443a_decode_diffmiller(struct diffmiller_state * const state, iso14443_frame * const frame,
+int __ramfunc iso14443a_decode_diffmiller(struct diffmiller_state * const state, iso14443_frame * const frame,
const u_int32_t buffer[], unsigned int * const offset, const unsigned int buflen)
{
if(state == NULL || !state->initialized) return -EINVAL;
personal git repositories of Harald Welte. Your mileage may vary