diff --git a/app/src/main/cpp/GPIOControl.cpp b/app/src/main/cpp/GPIOControl.cpp index d4b053ac..5c38669d 100644 --- a/app/src/main/cpp/GPIOControl.cpp +++ b/app/src/main/cpp/GPIOControl.cpp @@ -61,7 +61,7 @@ size_t GpioControl::turnOnImpl(const IOT_PARAM& param) SetCamerastatus(param.cmd, true); } - if (oldRef == 0 || param.cmd != CMD_SET_3V3_PWR_EN) + if (oldRef == 0/* || param.cmd != CMD_SET_3V3_PWR_EN*/) { fd = open(GPIO_NODE_MP, O_RDONLY); if( fd > 0 )