Add optional TRACE_*_WP switch

This commit is contained in:
Christina Quast
2015-03-13 13:09:51 +01:00
parent 23bb831cfb
commit ce8fa7e646
2 changed files with 9 additions and 0 deletions

View File

@@ -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