diff --git a/app/src/main/cpp/GPIOControl.cpp b/app/src/main/cpp/GPIOControl.cpp index 1a85feb6..b4fffbab 100644 --- a/app/src/main/cpp/GPIOControl.cpp +++ b/app/src/main/cpp/GPIOControl.cpp @@ -14,6 +14,7 @@ #include #include "GPIOControl.h" +#include #ifdef _DEBUG #include @@ -80,8 +81,8 @@ void GpioControl::setInt(int cmd, int value) if (fd > 0) { int res = ioctl(fd, IOT_PARAM_WRITE, ¶m); -#ifdef _DEBUG - ALOGI("setInt cmd=%d,value=%d,result=%d\r\n",param.cmd, param.value, param.result); +#ifdef OUTPUT_DBG_INFO + XYLOG(XYLOG_SEVERITY_DEBUG, "setInt cmd=%d,value=%d,result=%d\r\n",param.cmd, param.value, param.result); #endif close(fd); }