Commit 6d817aee authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
parents bfb5dcef e7442d13
...@@ -261,9 +261,9 @@ int camogm_frame_jpeg(camogm_state *state) ...@@ -261,9 +261,9 @@ int camogm_frame_jpeg(camogm_state *state)
} }
close(state->ivf); close(state->ivf);
} else { } else {
fprintf(debug_file, "dump iovect array\n"); D6(fprintf(debug_file, "dump iovect array\n"));
for (int i = 0; i < state->chunk_index - 1; i++) { for (int i = 0; i < state->chunk_index - 1; i++) {
fprintf(debug_file, "ptr: %p, length: %ld\n", state->packetchunks[i + 1].chunk, state->packetchunks[i + 1].bytes); D6(fprintf(debug_file, "ptr: %p, length: %ld\n", state->packetchunks[i + 1].chunk, state->packetchunks[i + 1].bytes));
} }
fdata.sensor_port = port; fdata.sensor_port = port;
fdata.cirbuf_ptr = state->cirbuf_rp[port]; fdata.cirbuf_ptr = state->cirbuf_rp[port];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment