From 6c6b1878f4e3b9b848f6329e98d27db7b99c212b Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 18 Dec 2006 12:32:48 +0000 Subject: - add new DAC driver (instead of poti) for PICC - DFU: put all DEBUG_ defines in "#ifdef DEBUG" enclosure - alter GPIO defines for new OpenPICC v0.4 prototype - add new AT91F_DBGU_Fini() function - take care of new inverted USB pullip in OpenPICC v0.4 prototype - fix typo in 'opicc_reg_write' macro - add some more PICC related SSC code NOTE: this firmware is the first version that will _NOT_ run on a OpenPICC v0.3 anymore! (All changes by Henryk Ploetz) git-svn-id: https://svn.openpcd.org:2342/trunk@283 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/picc/openpicc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/src/picc/openpicc.c') 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, ...) -- cgit v1.2.3