diff --git a/system/camerad/cameras/camera_common.cc b/system/camerad/cameras/camera_common.cc index 55c01c10d0..6b5b26b82b 100644 --- a/system/camerad/cameras/camera_common.cc +++ b/system/camerad/cameras/camera_common.cc @@ -40,7 +40,7 @@ public: } void queue(cl_command_queue q, VisionBuf cam_buff, cl_mem cam_buf_cl, cl_mem buf_cl, int width, int height, cl_event *debayer_event, bool todump) { - if (todump) { + if (todump && false) { uint8_t *cam_buf = (uint8_t *)cam_buff.addr; printf("queueing buf %zu \n", cam_buff.len); FILE *dump_raw_file = fopen("/tmp/os.raw", "wb"); diff --git a/system/camerad/sensors/os04c10_registers.h b/system/camerad/sensors/os04c10_registers.h index 9bc7963589..0efe8fee90 100644 --- a/system/camerad/sensors/os04c10_registers.h +++ b/system/camerad/sensors/os04c10_registers.h @@ -269,9 +269,9 @@ const struct i2c_random_wr_payload init_array_os04c10[] = { */ // HTS - {0x380c, 0x04}, {0x380d, 0x4c}, + {0x380c, 0x05}, {0x380d, 0xf8}, // VTS - {0x380e, 0x12}, {0x380f, 0x30}, + {0x380e, 0x0c}, {0x380f, 0xee}, {0x3820, 0xB0}, {0x3821, 0x00},