Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-gps
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-gps
Commits
8ccf7727
Commit
8ccf7727
authored
Apr 23, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporary disabling to test DMA cache coherency (will start when opening file)
parent
64f912ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
start_ims.php
src/start_ims.php
+2
-0
No files found.
src/start_ims.php
View file @
8ccf7727
...
@@ -760,6 +760,8 @@ function setup_IMU_logger($conf) {
...
@@ -760,6 +760,8 @@ function setup_IMU_logger($conf) {
$bindata
.=
chr
(
$data
[
$i
]
);
$bindata
.=
chr
(
$data
[
$i
]
);
$dev_imu_ctl
=
fopen
(
'/dev/imu_ctl'
,
'w'
);
$dev_imu_ctl
=
fopen
(
'/dev/imu_ctl'
,
'w'
);
fwrite
(
$dev_imu_ctl
,
$bindata
,
strlen
(
$bindata
)
);
fwrite
(
$dev_imu_ctl
,
$bindata
,
strlen
(
$bindata
)
);
// temporary disabling to test DMA cache coherency (will start when opening file)
fseek
(
$dev_imu_ctl
,
3
,
SEEK_END
);
// start IMU
fseek
(
$dev_imu_ctl
,
3
,
SEEK_END
);
// start IMU
fclose
(
$dev_imu_ctl
);
fclose
(
$dev_imu_ctl
);
...
...
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