mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 14:28:33 +03:00
Remove PR define, replace with TRACE_DEBUG
The define PR was introduced to switch quickly between TRACE levels for specific debug print messages. Now, it all became debug output, since it is not needed in normal operation.
This commit is contained in:
@@ -38,10 +38,6 @@
|
||||
|
||||
volatile uint32_t char_stat;
|
||||
|
||||
// FIXME: Remove:
|
||||
#define PR TRACE_INFO
|
||||
//#define PR printf
|
||||
|
||||
volatile ringbuf sim_rcv_buf = { {0}, 0, 0 };
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
@@ -105,7 +101,7 @@ void USART1_IrqHandler( void )
|
||||
/* Fill char into buffer */
|
||||
rbuf_write(&sim_rcv_buf, c);
|
||||
} else {
|
||||
PR("e %x st: %x\n", c, stat);
|
||||
TRACE_DEBUG("e %x st: %x\n", c, stat);
|
||||
} /* else: error occured */
|
||||
|
||||
char_stat = stat;
|
||||
|
||||
Reference in New Issue
Block a user