summaryrefslogtreecommitdiff
path: root/openpicc/application
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-16 21:13:18 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-16 21:13:18 +0000
commit570ab39bfc828dd16f0f3200e566916b89e01ed2 (patch)
tree91bd946700fd28751272f6780383cbd715adbd38 /openpicc/application
parent0df8e1e25ca0743898b4a1fa7e8b7ea0c5208b83 (diff)
That comment is not true anymore
git-svn-id: https://svn.openpcd.org:2342/trunk@395 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application')
-rw-r--r--openpicc/application/ssc_picc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/openpicc/application/ssc_picc.c b/openpicc/application/ssc_picc.c
index 64013ea..e5d2085 100644
--- a/openpicc/application/ssc_picc.c
+++ b/openpicc/application/ssc_picc.c
@@ -331,7 +331,7 @@ void ssc_rx_mode_set(enum ssc_mode ssc_mode)
ssc->SSC_RC1R = ISO14443A_EOF_SAMPLE;
data_len = ISO14443A_SAMPLE_LEN;
num_data = 16; /* Start with 16, then switch to continuous in the IRQ handler */
- stop = 1; /* It's impossible to use "stop on compare 1" for the stop condition here */
+ stop = 1; /* Actually the documentation indicates that setting STOP makes switching to continuous unnecessary */
clock_gating = (0x0 << 6);
break;
case SSC_MODE_14443B:
@@ -482,11 +482,6 @@ static void __ramfunc ssc_irq(void)
DEBUGP("ssc_sr=0x%08x, mode=%u: ", ssc_sr, ssc_state.mode);
if ((ssc_sr & AT91C_SSC_CP0) && (ssc_state.mode == SSC_MODE_14443A_SHORT || ssc_state.mode == SSC_MODE_14443A)) {
- if(ssc_state.mode == SSC_MODE_14443A && ISO14443A_SOF_LEN != ISO14443A_EOF_LEN) {
- /* Need to reprogram FSLEN */
- //ssc->SSC_RFMR = (ssc->SSC_RFMR & ~(0xf << 16)) | ( ((ISO14443A_EOF_LEN-1)&0xf) << 16 );
- //ssc->SSC_RCMR = (ssc->SSC_RCMR & ~(0xf << 8)) | AT91C_SSC_START_CONTINOUS;
- }
/* Short frame, busy loop till the frame is received completely to
* prevent a second irq entrance delay when the actual frame end
* irq is raised. (The scheduler masks interrupts for about 56us,
personal git repositories of Harald Welte. Your mileage may vary