Skip to content

Commit

Permalink
* fix param error
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Jul 28, 2024
1 parent b190b99 commit b3ca097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/vision/src/maix_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ namespace maix::camera
_impl = base;

if (open) {
e = this->open(_width, _height, _format, _buff_num);
e = this->open(_width, _height, _format, _fps, _buff_num);
err::check_raise(e, "camera open failed");
}
}
Expand Down Expand Up @@ -379,7 +379,7 @@ namespace maix::camera

_width = width;
_height = height;
e = this->open(_width, _height, _format, _buff_num);
e = this->open(_width, _height, _format, _fps, _buff_num);
err::check_raise(e, "camera open failed");
return err::ERR_NONE;
}
Expand Down

0 comments on commit b3ca097

Please sign in to comment.