platform: Cleaanup in the ENABLE_DEBUG definitions in the platform headers
This commit is contained in:
parent
f0d85828c9
commit
b870ed532c
|
@ -32,8 +32,7 @@
|
||||||
#define PLATFORM_HAS_TRACESWO
|
#define PLATFORM_HAS_TRACESWO
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUG
|
#ifdef ENABLE_DEBUG
|
||||||
# define PLATFORM_HAS_DEBUG
|
#define PLATFORM_HAS_DEBUG
|
||||||
# define USBUART_DEBUG
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PLATFORM_IDENT "(F3-IF) "
|
#define PLATFORM_IDENT "(F3-IF) "
|
||||||
|
|
|
@ -33,8 +33,7 @@
|
||||||
#define PLATFORM_HAS_USBUART
|
#define PLATFORM_HAS_USBUART
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUG
|
#ifdef ENABLE_DEBUG
|
||||||
# define PLATFORM_HAS_DEBUG
|
#define PLATFORM_HAS_DEBUG
|
||||||
# define USBUART_DEBUG
|
|
||||||
extern bool debug_bmp;
|
extern bool debug_bmp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,7 @@
|
||||||
#include <libopencm3/usb/usbd.h>
|
#include <libopencm3/usb/usbd.h>
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUG
|
#ifdef ENABLE_DEBUG
|
||||||
# define PLATFORM_HAS_DEBUG
|
#define PLATFORM_HAS_DEBUG
|
||||||
# define USBUART_DEBUG
|
|
||||||
extern bool debug_bmp;
|
extern bool debug_bmp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,7 @@
|
||||||
#include "timing_stm32.h"
|
#include "timing_stm32.h"
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUG
|
#ifdef ENABLE_DEBUG
|
||||||
# define PLATFORM_HAS_DEBUG
|
#define PLATFORM_HAS_DEBUG
|
||||||
# define USBUART_DEBUG
|
|
||||||
extern bool debug_bmp;
|
extern bool debug_bmp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue