Skip to content

Commit eacfa51

Browse files
initialize the gain and exposuretime to update from 0
1 parent 6336605 commit eacfa51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bb/image-io/rt_u3v.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ class U3V {
145145
int32_t image_payload_size_;
146146
uint32_t frame_count_;
147147

148-
float gain_;
149-
float exposure_;
148+
float gain_ =-1;
149+
float exposure_ =-1;
150150

151-
int32_t int_gain_;
152-
int32_t int_exposure_;
151+
int32_t int_gain_ = -1;
152+
int32_t int_exposure_ = -1;
153153

154154
float exposure_range_[2];
155155

0 commit comments

Comments
 (0)