From 05b42f2355d2aeaa47d78ad527a5dffa17843c81 Mon Sep 17 00:00:00 2001
From: sundp <dp.s@yunhorn.com>
Date: Sun, 15 Oct 2023 17:43:46 +0800
Subject: [PATCH] disable debug checking

---
 Core/Inc/adc_if.h   | 4 +++-
 Core/Inc/sys_conf.h | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Core/Inc/adc_if.h b/Core/Inc/adc_if.h
index a1e7e84..74d4774 100644
--- a/Core/Inc/adc_if.h
+++ b/Core/Inc/adc_if.h
@@ -46,7 +46,9 @@ extern "C" {
 /**
   * @brief Maximum battery level in mV
   */
-#define VDD_BAT                     BAT_STS_BOARD_3V3  //BAT_CR2032
+#ifndef VDD_BAT
+#define VDD_BAT                     BAT_CR2032
+#endif
 /**
   * @brief Minimum battery level in mV
   */
diff --git a/Core/Inc/sys_conf.h b/Core/Inc/sys_conf.h
index 3611754..d4a50ca 100644
--- a/Core/Inc/sys_conf.h
+++ b/Core/Inc/sys_conf.h
@@ -52,7 +52,7 @@ extern "C" {
 /**
   * @brief Enable trace logs
   */
-#define APP_LOG_ENABLED                      1
+#define APP_LOG_ENABLED                      0
 
 /**
   * @brief Activate monitoring (probes) of some internal RF signals for debug purpose