summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443a_manchester.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-10 00:53:54 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-10 00:53:54 +0000
commit9cde1dd08282554001b9619191a9d170de913dc5 (patch)
tree792ee4be510894911502830be2f870a9fbf3b4ae /openpicc/application/iso14443a_manchester.c
parentbea54255a3217229764cd35aca4387ac76531692 (diff)
Add performance measurement code
Measure miller decoder performance git-svn-id: https://svn.openpcd.org:2342/trunk@447 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443a_manchester.c')
-rw-r--r--openpicc/application/iso14443a_manchester.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/application/iso14443a_manchester.c b/openpicc/application/iso14443a_manchester.c
index e8640fa..9822c60 100644
--- a/openpicc/application/iso14443a_manchester.c
+++ b/openpicc/application/iso14443a_manchester.c
@@ -59,7 +59,7 @@ enum parity {
PARITY_0, PARITY_1 /* Set fixed parity */
};
-static void manchester_enc_byte(u_int16_t **s16, u_int8_t data, enum parity parity)
+static inline void manchester_enc_byte(u_int16_t **s16, const u_int8_t data, const enum parity parity)
{
int i;
u_int8_t sum_1 = 0;
personal git repositories of Harald Welte. Your mileage may vary