ret = dcmi_get_device_phyid_from_logicid((unsigned int)logic_id, &phy_id); if (ret != DCMI_OK) { printf("dcmi_get_device_phyid_from_logicidfailed. err is %d\n", ret); } return ret; …