Generic trace pt2: made iso14443b use standard trace format

This commit is contained in:
Martin Holst Swende committed 2015-01-18 20:23:58 +01:00
1 parent 80fe723570
commit 355c8b4a7d
5 files changed
+80 -58

No files matched your search

+16
View 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.