电源打开和关闭成对

PtzNew
Matthew 3 months ago
parent 0957cc3a12
commit 0cfd48ff92

@ -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 )

Loading…
Cancel
Save