Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autocampars
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-autocampars
Commits
b900d1cc
Commit
b900d1cc
authored
Mar 31, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix for boson
parent
edeccb59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
autocampars.php
src/autocampars.php
+1
-1
No files found.
src/autocampars.php
View file @
b900d1cc
...
@@ -864,7 +864,7 @@ function detect_camera(){
...
@@ -864,7 +864,7 @@ function detect_camera(){
log_msg
(
'Waiting for Boson sensors to boot for '
.
$max_boot_time
.
' seconds'
);
log_msg
(
'Waiting for Boson sensors to boot for '
.
$max_boot_time
.
' seconds'
);
sleep
(
$max_boot_time
);
sleep
(
$max_boot_time
);
foreach
(
$GLOBALS
[
'ports'
]
as
$port
)
{
foreach
(
$GLOBALS
[
'ports'
]
as
$port
)
{
if
(
elphel_get_P_value
(
$port
,
ELPHEL_SENSOR
)
!
=
$sensor_code
){
// unconnected will be remove later, old way
if
(
elphel_get_P_value
(
$port
,
ELPHEL_SENSOR
)
=
=
$sensor_code
){
// unconnected will be remove later, old way
if
(
elphel_get_frame
(
$port
)
<
1
){
if
(
elphel_get_frame
(
$port
)
<
1
){
log_msg
(
"Sensor port "
.
$port
.
" did not boot - disabling"
);
log_msg
(
"Sensor port "
.
$port
.
" did not boot - disabling"
);
for
(
$chn
=
0
;
$chn
<
4
;
$chn
++
)
{
for
(
$chn
=
0
;
$chn
<
4
;
$chn
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment