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
fcfa1fc1
Commit
fcfa1fc1
authored
Nov 07, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduced set time tolerance
parent
487095a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
multicam3.js
src/multicam/multicam3.js
+1
-0
parsedit.php
src/php_top/parsedit.php
+1
-1
No files found.
src/multicam/multicam3.js
View file @
fcfa1fc1
...
...
@@ -528,6 +528,7 @@ function startStopRefresh (){
function
init_port
(
cam_i
,
port_i
){
var
date_time
=
new
Date
();
var
url
=
"http://"
+
cams
[
cam_i
].
ip
+
"/parsedit.php?immediate&sensor_port="
+
cams
[
cam_i
].
ports
[
port_i
].
index
+
"&WB_EN"
+
"&_time="
+
date_time
.
getTime
();
// alert("multicam3.js:init_port(): url="+url);
$
.
ajax
({
url
:
url
,
cam_i
:
cam_i
,
...
...
src/php_top/parsedit.php
View file @
fcfa1fc1
...
...
@@ -1111,7 +1111,7 @@ function parseGetNames() {
if
(
!
$embedImageScale
)
$embedImageScale
=
$defaultEmbedImageScale
;
}
else
if
((
$key
==
'_time'
)
||
(
$key
==
'_stime'
))
{
$time
=
((
float
)
$value
)
/
1000
;
if
((
$key
==
'_stime'
)
||
(
abs
(
elphel_get_fpga_time
()
-
$time
)
<
24
*
3600
)){
// time is not already set or forced
if
((
$key
==
'_stime'
)
||
(
abs
(
elphel_get_fpga_time
()
-
$time
)
>
10
)){
//
24*3600)){ // time is not already set or forced
elphel_set_fpga_time
(
$time
);
// set FPGA time
exec
(
"date -s '"
.@
date
(
"Y-m-d H:i:s.u"
,(
int
)
$time
)
.
"'"
,
$out
,
$ret
);
// set system time
exec
(
"hwclock --systohc"
);
...
...
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