Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
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-web-393
Commits
129d9d9a
Commit
129d9d9a
authored
Nov 09, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed comments in xml that interfered with the file format
parent
4e8e0a90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
parsedit.php
src/php_top/parsedit.php
+5
-5
No files found.
src/php_top/parsedit.php
View file @
129d9d9a
...
...
@@ -900,20 +900,20 @@ function applyPost($todo,$noFinalWait=false) {
}
$broadcast_sorted
=
split_broadcast
(
$pgmpars
);
ksort
(
$broadcast_sorted
);
echo
"<!--"
;
print_r
(
$broadcast_sorted
);
//
echo "<!--";
//
print_r($broadcast_sorted);
foreach
(
$broadcast_sorted
as
$bcast
=>
$params
)
{
if
(
count
(
$params
)
>
0
)
{
if
(
$bcast
)
{
echo
"elphel_set_P_arr("
.
$GLOBALS
[
sensor_port
]
.
", "
.
print_r
(
$params
,
1
)
.
", "
.
(
$frame_zero
+
$since
)
.
", ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC, "
.
$bcast
.
")
\n
"
;
//
echo "elphel_set_P_arr(" . $GLOBALS [sensor_port] . ", " . print_r ( $params, 1 ) . ", " . ($frame_zero + $since) . ", ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC, " . $bcast . ")\n";
elphel_set_P_arr
(
$GLOBALS
[
sensor_port
],
$params
,
$frame_zero
+
$since
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
,
$bcast
);
}
else
{
echo
"elphel_set_P_arr("
.
$GLOBALS
[
sensor_port
]
.
", "
.
print_r
(
$params
,
1
)
.
", "
.
(
$frame_zero
+
$since
)
.
", ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC)
\n
"
;
//
echo "elphel_set_P_arr(" . $GLOBALS [sensor_port] . ", " . print_r ( $params, 1 ) . ", " . ($frame_zero + $since) . ", ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC)\n";
elphel_set_P_arr
(
$GLOBALS
[
sensor_port
],
$params
,
$frame_zero
+
$since
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// / Are these flags needed?
}
}
}
echo
"-->"
;
//
echo "-->";
}
if
(
!
$noFinalWait
)
{
$frame_now
=
$since
+
$frame_zero
+
1
;
/// wait just 1 frame longer that the target of the last command in $todo
...
...
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