summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer2a.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-15 04:29:10 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-15 04:29:10 +0000
commit625ffcb32a947cbcf66b491f1f0ddd49d31c0a5e (patch)
tree50df40dd8fd1100b9d5b0cc42063c74d5f84ab62 /openpicc/application/iso14443_layer2a.c
parent8ad8a1ea8800ea4cc6a2c74b24ce8bf867d8a906 (diff)
Fix the clock gating for the new layer 2 code
Only perform the switch to continous when necessary since it has serious side effects in the current hardware (we really need TF ored into the clock gating) git-svn-id: https://svn.openpcd.org:2342/trunk@457 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer2a.c')
-rw-r--r--openpicc/application/iso14443_layer2a.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpicc/application/iso14443_layer2a.c b/openpicc/application/iso14443_layer2a.c
index 2288eaa..2c2de3a 100644
--- a/openpicc/application/iso14443_layer2a.c
+++ b/openpicc/application/iso14443_layer2a.c
@@ -263,6 +263,9 @@ int iso14443_layer2a_init(u_int8_t enable_fast_receive)
tc_cdiv_init();
tc_fdt_init();
+ tc_cdiv_sync_init();
+ tc_cdiv_sync_enable();
+
clock_switch_init();
load_mod_init();
personal git repositories of Harald Welte. Your mileage may vary