mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
camerad: log whether sync fails in IFE or BPS (#34854)
This commit is contained in:
@@ -1406,7 +1406,9 @@ bool SpectraCamera::waitForFrameReady(uint64_t request_id) {
|
||||
struct cam_sync_wait sync_wait = {};
|
||||
sync_wait.sync_obj = sync_obj;
|
||||
sync_wait.timeout_ms = stress_test(sync_type) ? 1 : timeout_ms;
|
||||
return do_sync_control(m->cam_sync_fd, CAM_SYNC_WAIT, &sync_wait, sizeof(sync_wait)) == 0;
|
||||
bool ret = do_sync_control(m->cam_sync_fd, CAM_SYNC_WAIT, &sync_wait, sizeof(sync_wait)) == 0;
|
||||
if (!ret) LOGE("camera %d %s failed", cc.camera_num, sync_type);
|
||||
return ret;
|
||||
};
|
||||
|
||||
// wait for frame from IFE
|
||||
|
||||
Reference in New Issue
Block a user