diff --git a/selfdrive/camerad/cameras/camera_common.cc b/selfdrive/camerad/cameras/camera_common.cc index f3ce132ad0..43e5ac287e 100644 --- a/selfdrive/camerad/cameras/camera_common.cc +++ b/selfdrive/camerad/cameras/camera_common.cc @@ -198,12 +198,11 @@ bool CameraBuf::acquire() { pool_acquire(&yuv_pool, cur_yuv_idx); pool_push(&yuv_pool, cur_yuv_idx); - tbuffer_dispatch(&ui_tb, cur_rgb_idx); - return true; } void CameraBuf::release() { + tbuffer_dispatch(&ui_tb, cur_rgb_idx); pool_release(&yuv_pool, cur_yuv_idx); }