Generic trace pt2: made iso14443b use standard trace format

This commit is contained in:
Martin Holst Swende 2015-01-18 20:23:58 +01:00
commit 355c8b4a7d
5 changed files with 80 additions and 58 deletions

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.