From e8a0a218a89110d4078eb9827abee4f78480703e Mon Sep 17 00:00:00 2001 From: wanpiqiu123 <779893878@qq.com> Date: Mon, 22 Jul 2019 09:29:52 +0800 Subject: [PATCH] fix bug --- others/src/camera/camera_wrapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/others/src/camera/camera_wrapper.cpp b/others/src/camera/camera_wrapper.cpp index 167e055..614506d 100644 --- a/others/src/camera/camera_wrapper.cpp +++ b/others/src/camera/camera_wrapper.cpp @@ -96,6 +96,7 @@ bool CameraWrapper::init() { } else { gain = 50; } + CameraSetAnalogGain(h_camera, gain); #endif if (mode == 0) { CameraSetGain(h_camera, CAMERA_BLUE_GAIN, CAMERA_GREEN_GAIN, CAMERA_RED_GAIN);