mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 02:25:45 +08:00
camerad: assert isp started successfully (#31385)
* isp assert
* disable this for testing
* Revert "disable this for testing"
This reverts commit e65cf6d4b457babcc1a980d40079a2d6aa6540b8.
* move below
old-commit-hash: c9951e9d6c
This commit is contained in:
@@ -606,6 +606,7 @@ void CameraState::camera_open(MultiCameraState *multi_cam_state_, int camera_num
|
||||
LOGD("start csiphy: %d", ret);
|
||||
ret = device_control(multi_cam_state->isp_fd, CAM_START_DEV, session_handle, isp_dev_handle);
|
||||
LOGD("start isp: %d", ret);
|
||||
assert(ret == 0);
|
||||
|
||||
// TODO: this is unneeded, should we be doing the start i2c in a different way?
|
||||
//ret = device_control(sensor_fd, CAM_START_DEV, session_handle, sensor_dev_handle);
|
||||
|
||||
Reference in New Issue
Block a user