change debug

This commit is contained in:
iceman1001 2020-07-13 12:26:26 +02:00
commit e7127514db

View file

@ -164,7 +164,6 @@ uint32_t BigBuf_get_traceLen(void) {
**/
bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_start, uint32_t timestamp_end, uint8_t *parity, bool readerToTag) {
if (tracing == false) {
Dbprintf("trace is turned off");
return false;
}
@ -187,7 +186,7 @@ bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_
}
if (duration > 0x7FFF) {
if (DBGLEVEL >= DBG_ERROR) { //DBG_DEBUG
if (DBGLEVEL >= DBG_ERROR) {
Dbprintf("Error in LogTrace: duration too long for 15 bits encoding: 0x%08x start: 0x%08x end: 0x%08x", duration, timestamp_start, timestamp_end);
}
duration /= 32;