pull/31674/head
Comma Device 2 years ago
parent 5b2bee4514
commit 524f3bf399
  1. 2
      system/camerad/cameras/camera_common.cc
  2. 4
      system/camerad/sensors/os04c10_registers.h

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

@ -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},

Loading…
Cancel
Save