From 70e09641829768ee7952542f7356e4ea6c0f4e24 Mon Sep 17 00:00:00 2001 From: nur Date: Fri, 5 Jun 2020 16:28:58 +0800 Subject: [PATCH] Disable debug for release build --- Source/preinclude.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/preinclude.h b/Source/preinclude.h index b383147..d7ba888 100644 --- a/Source/preinclude.h +++ b/Source/preinclude.h @@ -42,7 +42,6 @@ #error "Board type must be defined" #endif -#define DO_DEBUG #ifdef DO_DEBUG #define HAL_UART TRUE @@ -55,6 +54,7 @@ #define APP_TX_POWER TX_PWR_PLUS_19 #elif defined(HAL_BOARD_CHDTECH_DEV) #define APP_TX_POWER TX_PWR_PLUS_4 +#define DO_DEBUG #endif #include "hal_board_cfg.h"