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
93dfcc13
Commit
93dfcc13
authored
Mar 27, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imu check: not yet used
parent
721cb6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
eyesis4pi_interface.php
src/eyesis4pi/eyesis4pi_interface.php
+5
-0
No files found.
src/eyesis4pi/eyesis4pi_interface.php
View file @
93dfcc13
...
@@ -44,6 +44,11 @@ $file_lba_current = $sysfs_lba_path."lba_current";
...
@@ -44,6 +44,11 @@ $file_lba_current = $sysfs_lba_path."lba_current";
$file_lba_end
=
$sysfs_lba_path
.
"lba_end"
;
$file_lba_end
=
$sysfs_lba_path
.
"lba_end"
;
switch
(
$cmd
){
switch
(
$cmd
){
case
"check_imu"
:
if
(
is_link
(
"/dev/imu"
))
$res
=
1
;
else
$res
=
0
;
echo
$res
;
break
;
case
"camogm_debug"
:
case
"camogm_debug"
:
exec
(
"echo 'debug=/tmp/camogm.log;debuglev=6' > /var/state/camogm_cmd"
);
exec
(
"echo 'debug=/tmp/camogm.log;debuglev=6' > /var/state/camogm_cmd"
);
echo
"
$cmd
ok"
;
echo
"
$cmd
ok"
;
...
...
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