mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 06:48:34 +03:00
Add optional TRACE_*_WP switch
This commit is contained in:
@@ -52,6 +52,8 @@ TRACE_LEVEL = 1
|
|||||||
#FIXME: Remove this variable
|
#FIXME: Remove this variable
|
||||||
NOAUTOCALLBACK=no
|
NOAUTOCALLBACK=no
|
||||||
|
|
||||||
|
#CFLAGS+=-DUSB_NO_DEBUG=1
|
||||||
|
|
||||||
# Optimization level, put in comment for debugging
|
# Optimization level, put in comment for debugging
|
||||||
OPTIMIZATION = -O0
|
OPTIMIZATION = -O0
|
||||||
|
|
||||||
|
|||||||
@@ -217,6 +217,13 @@ extern void TRACE_CONFIGURE( uint32_t dwBaudRate, uint32_t dwMCk ) ;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(USB_NO_DEBUG)
|
||||||
|
#undef TRACE_DEBUG_WP
|
||||||
|
#define TRACE_DEBUG(...) { }
|
||||||
|
|
||||||
|
#undef TRACE_INFO_WP
|
||||||
|
#define TRACE_INFO_WP(...) { }
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exported variables
|
* Exported variables
|
||||||
|
|||||||
Reference in New Issue
Block a user