Skip to content

Commit 6deae7f

Browse files
committed
camera: Add missing documentation.
1 parent 060ff9d commit 6deae7f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libraries/Camera/src/camera.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ class ImageSensor {
217217
*/
218218
virtual int setResolutionWithZoom(int32_t resolution, int32_t zoom_resolution, uint32_t zoom_x, uint32_t zoom_y) = 0;
219219

220+
/**
221+
* @brief Set the resolution of the image sensor.
222+
*
223+
* @note This has no effect on cameras that do not support variable resolutions.
224+
* @param resolution The desired resolution, as defined in the resolution enum
225+
* @return int 0 on success, non-zero on failure
226+
*/
220227
virtual int setResolution(int32_t resolution) = 0;
221228

222229
/**

0 commit comments

Comments
 (0)