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); }