Commit 43147df8 authored by Andrey Filippov's avatar Andrey Filippov

added delay between channels (Boson only) to reduce shutter current, as...

added delay between channels (Boson only) to reduce shutter current, as Netgear switch was failing even with 130W PS (with LiPo - OK)
parent 43a9924e
...@@ -843,6 +843,9 @@ function detect_camera(){ ...@@ -843,6 +843,9 @@ function detect_camera(){
$frame_nums[$port]=elphel_get_frame($port); $frame_nums[$port]=elphel_get_frame($port);
fclose($f); fclose($f);
log_msg("Started detection for sensor port ".$port); log_msg("Started detection for sensor port ".$port);
if ($GLOBALS['camera_state_arr']['is_boson640']){
usleep(0.3*1000000); // prevent power problems with simultaneous FFC
}
} }
}else{ }else{
// init framepars anyways - sysfs was updated earlier // init framepars anyways - sysfs was updated earlier
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment