d/v4l2: Minor clang-tidy fixes

This commit is contained in:
Ryan Pavlik 2019-08-16 17:02:50 -05:00
parent 0088c6cb6e
commit eef6d87da4
2 changed files with 3 additions and 3 deletions

View file

@ -761,9 +761,9 @@ v4l2_fs_stream_run(void *ptr)
V_ERROR(vid, "error: Dequeue failed!"); V_ERROR(vid, "error: Dequeue failed!");
vid->is_running = false; vid->is_running = false;
break; break;
} else {
V_SPEW(vid, "Got frame %i", v_buf.index);
} }
V_SPEW(vid, "Got frame %i", v_buf.index);
uint8_t *data = vid->capture.mem[v_buf.index]; uint8_t *data = vid->capture.mem[v_buf.index];

View file

@ -63,7 +63,7 @@ struct v4l2_source_descriptor
* @ingroup drv_v4l2 * @ingroup drv_v4l2
*/ */
struct xrt_fs* struct xrt_fs*
v4l2_fs_create(const char* device, struct xrt_fs_sink* q); v4l2_fs_create(const char* path, struct xrt_fs_sink* sink);
#ifdef __cplusplus #ifdef __cplusplus