From 1d927733742facdf46728e265111a03ba6da9674 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 1 May 2024 21:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=AD=89=E7=BA=A7=E5=92=8C=E9=BB=98=E8=AE=A4=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=BE=93=E5=87=BA=E6=8E=A5=E5=8F=A3=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E9=98=BB=E5=A1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/znordic.h | 8 ++++---- zsdk_config/zsdk_ble_slave_config.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/znordic.h b/include/znordic.h index b1f7b4e..243efea 100644 --- a/include/znordic.h +++ b/include/znordic.h @@ -73,10 +73,10 @@ void nrf_log_backend_uart_tx_raw(char const* p_buffer, size_t len); * LOG * *******************************************************************************/ -#define ZLOGI(...) ZLOGI_BLOCK(__VA_ARGS__) -#define ZLOGE(...) ZLOGE_BLOCK(__VA_ARGS__) -#define ZLOGW(...) ZLOGW_BLOCK(__VA_ARGS__) -#define ZLOGD(...) ZLOGD_BLOCK(__VA_ARGS__) +#define ZLOGI(...) NRF_LOG_INFO(__VA_ARGS__) +#define ZLOGE(...) NRF_LOG_ERROR(__VA_ARGS__) +#define ZLOGW(...) NRF_LOG_WARNING(__VA_ARGS__) +#define ZLOGD(...) NRF_LOG_DEBUG(__VA_ARGS__) #define ZLOGI_BLOCK(...) \ { \ diff --git a/zsdk_config/zsdk_ble_slave_config.h b/zsdk_config/zsdk_ble_slave_config.h index db67367..b3e08c1 100644 --- a/zsdk_config/zsdk_ble_slave_config.h +++ b/zsdk_config/zsdk_ble_slave_config.h @@ -7884,7 +7884,7 @@ // <4=> Debug #ifndef NRF_LOG_DEFAULT_LEVEL -#define NRF_LOG_DEFAULT_LEVEL 4 +#define NRF_LOG_DEFAULT_LEVEL 3 #endif // NRF_LOG_DEFERRED - Enable deffered logger.