Skip to content

Commit

Permalink
* fix camera compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Sep 11, 2024
1 parent 7fa844f commit 88bc645
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions components/vision/port/linux/maix_camera_v4l2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -920,16 +920,6 @@ namespace maix::camera
}
} // read

image::Image *read_raw() {
err::check_raise(err::ERR_NOT_IMPL, "read_raw() not impl");
return NULL;

}

err::Err set_fps(int fps) {

}

void close()
{
enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
Expand Down Expand Up @@ -1111,6 +1101,15 @@ namespace maix::camera
set_regs_flag = enable;
}

image::Image *Camera::read_raw() {
err::check_raise(err::ERR_NOT_IMPL, "read_raw() not impl");
return NULL;
}

err::Err Camera::set_fps(int fps) {
return err::ERR_NOT_IMPL;
}

err::Err Camera::show_colorbar(bool enable)
{
// only set variable now
Expand Down

0 comments on commit 88bc645

Please sign in to comment.