mirror of https://gerrit.osmocom.org/simtrace2
Add optional TRACE_*_WP switch
This commit is contained in:
parent
23bb831cfb
commit
ce8fa7e646
|
@ -52,6 +52,8 @@ TRACE_LEVEL = 1
|
|||
#FIXME: Remove this variable
|
||||
NOAUTOCALLBACK=no
|
||||
|
||||
#CFLAGS+=-DUSB_NO_DEBUG=1
|
||||
|
||||
# Optimization level, put in comment for debugging
|
||||
OPTIMIZATION = -O0
|
||||
|
||||
|
|
|
@ -217,6 +217,13 @@ extern void TRACE_CONFIGURE( uint32_t dwBaudRate, uint32_t dwMCk ) ;
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(USB_NO_DEBUG)
|
||||
#undef TRACE_DEBUG_WP
|
||||
#define TRACE_DEBUG(...) { }
|
||||
|
||||
#undef TRACE_INFO_WP
|
||||
#define TRACE_INFO_WP(...) { }
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Exported variables
|
||||
|
|
Loading…
Reference in New Issue