]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/util.c
Generic trace pt2: made iso14443b use standard trace format
[proxmark3-svn] / armsrc / util.c
index cce9bed80a471e403c7eef1ee78096f5abcf024d..a4f55879424e326f94ed23a970c125787611c111 100644 (file)
@@ -427,6 +427,22 @@ uint32_t RAMFUNC GetCountSspClk(){
                return tmp_count;
        }
 }
+void iso14a_clear_trace() {
+       clear_trace();
+}
+
+void iso14a_set_tracing(bool enable) {
+       set_tracing(enable);
+}
+
+void clear_trace() {
+       memset(trace, 0x44, TRACE_SIZE);
+       traceLen = 0;
+}
+
+void set_tracing(bool enable) {
+       tracing = enable;
+}
 
 /**
   This is a function to store traces. All protocols can use this generic tracer-function.
Impressum, Datenschutz