Skip to content

Commit b38b171

Browse files
apps: mchpcam: Initialize contrast to its default value
Initialize the contrast value to its default. The value has to be probed from the driver. However initializing here shall be usefull if fetching from the driver fails for any reason. Signed-off-by: Balamanikandan Gunasundar <[email protected]>
1 parent c018384 commit b38b171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/mchpcam/mchpcam_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ MchpCamCommon::MchpCamCommon()
2121
pixelFormat_(formats::YUYV),
2222
running_(false),
2323
brightness_(0),
24-
contrast_(0),
24+
contrast_(16),
2525
whiteBalanceAutomatic_(true),
2626
gamma_(0)
2727
{

0 commit comments

Comments
 (0)