summaryrefslogtreecommitdiff
path: root/firmware/src/picc/openpicc.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/picc/openpicc.c')
-rw-r--r--firmware/src/picc/openpicc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/src/picc/openpicc.c b/firmware/src/picc/openpicc.c
index fa1f840..54139a9 100644
--- a/firmware/src/picc/openpicc.c
+++ b/firmware/src/picc/openpicc.c
@@ -14,6 +14,7 @@
* OpenPICC Register set
********************************************************************/
+#ifdef DEBUG
/* Our registers, including their power-up default values */
static u_int16_t opicc_regs[_OPICC_NUM_REGS] = {
[OPICC_REG_14443A_UIDLEN] = 4,
@@ -42,6 +43,7 @@ void opicc_reg_write(enum opicc_reg reg, u_int16_t val)
opicc_regs[reg] = val;
return;
}
+#endif
/********************************************************************
* OpenPICC USB Commandset (access to register set, ...)
personal git repositories of Harald Welte. Your mileage may vary