From 0b8c29eb9165c188c0a1c72040554bb46cbbb293 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 30 Mar 2025 10:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E6=B3=A8=E9=87=8A=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/GPIOControl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index 913ff520..70c12f9e 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -555,9 +555,9 @@ public: protected: void TurnOn() { -#if !defined(NDEBUG) || defined(OUTPUT_DBG_INFO) - std::string status = GetStatus(); - XYLOG(XYLOG_SEVERITY_INFO, "PWR Before TurnOn %s", status.c_str()); +#if !defined(NDEBUG) && defined(OUTPUT_DBG_INFO) + // std::string status = GetStatus(); + // XYLOG(XYLOG_SEVERITY_INFO, "PWR Before TurnOn %s", status.c_str()); #endif GpioControl::TurnOn(m_cmds); }