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
56a0dbca
Commit
56a0dbca
authored
Aug 22, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'framepars' of
https://github.com/Elphel/elphel-web-393
into framepars
parents
5f5e35c7
8a557af5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
framepars.php
src/php_top/framepars.php
+6
-2
No files found.
src/php_top/framepars.php
View file @
56a0dbca
...
...
@@ -414,12 +414,16 @@ CAPTION;
$framepars_file
=
fopen
(
$GLOBALS
[
'framepars_paths'
]
[
$sensor_port
],
"w+"
);
//r" );
// NC393 - added IRQs ON
// $xml->addChild ( 'irqon_result' . strval ( $sensor_port ), fseek ( $framepars_file, ELPHEL_LSEEK_INTERRUPT_ON, SEEK_END ) ); // #define LSEEK_INTERRUPT_ON 0x24 /// enable camera interrupts
// $xml->addChild ( 'compressor_irqon_result', fseek ( $framepars_file, ELPHEL_LSEEK_INTERRUPT_ON, SEEK_END ) ); // #define LSEEK_INTERRUPT_ON 0x24 /// enable camera interrupts
// $circbuf_file = fopen ( $GLOBALS ['circbuf_paths'] [$sensor_port], "w+" );
// $xml->addChild ( 'compressor_irqon_result', fseek ( $circbuf_file, ELPHEL_LSEEK_INTERRUPT_ON, SEEK_END ) ); // #define LSEEK_INTERRUPT_ON 0x24 /// enable camera interrupts
// fclose ( $circbuf_file );
// Init turn on cmdseq interrupts, but not compressor ones
$xml
->
addChild
(
'DEBUG_01_'
.
strval
(
$sensor_port
),
$GLOBALS
[
'framepars_paths'
]
[
$sensor_port
]);
$xml
->
addChild
(
'LSEEK_FRAMEPARS_INIT'
.
strval
(
$sensor_port
),
fseek
(
$framepars_file
,
ELPHEL_LSEEK_FRAMEPARS_INIT
,
SEEK_END
)
);
$xml
->
addChild
(
'elphel_set_P_value'
.
strval
(
$sensor_port
),
elphel_set_P_value
(
$sensor_port
,
ELPHEL_SENSOR
,
0x00
,
0
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
)
);
// / will start detection
$xml
->
addChild
(
'LSEEK_SENSORPROC'
.
strval
(
$sensor_port
),
fseek
(
$framepars_file
,
ELPHEL_LSEEK_SENSORPROC
,
SEEK_END
)
);
// Seems that next LSEEK_SENSORPROC is not needed as 0->ELPHEL_SENSOR will trigger it anyway
// Still try it to make sure new lock handles it
// $xml->addChild ( 'LSEEK_SENSORPROC' . strval ( $sensor_port ), fseek ( $framepars_file, ELPHEL_LSEEK_SENSORPROC, SEEK_END ) );
$frame
=
0
;
// gets half-frame
...
...
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