platform: Cleaanup in the ENABLE_DEBUG definitions in the platform headers

This commit is contained in:
dragonmux 2022-08-21 18:19:24 +01:00 committed by Piotr Esden-Tempski
parent f0d85828c9
commit b870ed532c
4 changed files with 4 additions and 8 deletions

View File

@ -32,8 +32,7 @@
#define PLATFORM_HAS_TRACESWO
#ifdef ENABLE_DEBUG
# define PLATFORM_HAS_DEBUG
# define USBUART_DEBUG
#define PLATFORM_HAS_DEBUG
#endif
#define PLATFORM_IDENT "(F3-IF) "

View File

@ -33,8 +33,7 @@
#define PLATFORM_HAS_USBUART
#ifdef ENABLE_DEBUG
# define PLATFORM_HAS_DEBUG
# define USBUART_DEBUG
#define PLATFORM_HAS_DEBUG
extern bool debug_bmp;
#endif

View File

@ -33,8 +33,7 @@
#include <libopencm3/usb/usbd.h>
#ifdef ENABLE_DEBUG
# define PLATFORM_HAS_DEBUG
# define USBUART_DEBUG
#define PLATFORM_HAS_DEBUG
extern bool debug_bmp;
#endif

View File

@ -30,8 +30,7 @@
#include "timing_stm32.h"
#ifdef ENABLE_DEBUG
# define PLATFORM_HAS_DEBUG
# define USBUART_DEBUG
#define PLATFORM_HAS_DEBUG
extern bool debug_bmp;
#endif