Skip to content

Commit

Permalink
s me
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Jul 21, 2022
1 parent 595d7cc commit e2f32a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/linux/backend-v4l2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2216,9 +2216,7 @@ namespace librealsense

bool v4l_mipi_device::get_xu(const extension_unit& xu, uint8_t control, uint8_t* data, int size) const
{
uint32_t the_control = xu_to_cid(xu,control);

v4l2_ext_control xctrl{the_control, uint32_t(size), 0, 0};
v4l2_ext_control xctrl{xu_to_cid(xu,control), uint32_t(size), 0, 0};
xctrl.p_u8 = data;

v4l2_ext_controls ext {xctrl.id & 0xffff0000, 1, 0, 0, 0, &xctrl};
Expand Down

0 comments on commit e2f32a5

Please sign in to comment.