chore(*): update sample comment.

This commit is contained in:
TinyO 2019-11-01 15:17:23 +08:00
parent ced9d4e720
commit 0216fb4128

View File

@ -40,7 +40,7 @@ int main(int argc, char *argv[]) {
api->SetOptionValue(Option::GAIN, 24); api->SetOptionValue(Option::GAIN, 24);
// brightness/exposure_time: range [0,240], default 120 // brightness/exposure_time: range [0,240], default 120
api->SetOptionValue(Option::BRIGHTNESS, 120); api->SetOptionValue(Option::BRIGHTNESS, 120);
// contrast/black_level_calibration: range [0,255], default 116 // contrast/black_level_calibration: range [0,254], default 116
api->SetOptionValue(Option::CONTRAST, 116); api->SetOptionValue(Option::CONTRAST, 116);
frame_rate = api->GetOptionValue(Option::FRAME_RATE); frame_rate = api->GetOptionValue(Option::FRAME_RATE);