Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
a241f26a
Commit
a241f26a
authored
Mar 21, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apps/ebpm/*: only spawn RFFE EPICS IOC if we spawned RFFE DEVIO
parent
bb1d8f2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ebpm.c
src/apps/ebpm/ebpm.c
+6
-0
No files found.
src/apps/ebpm/ebpm.c
View file @
a241f26a
...
...
@@ -648,6 +648,7 @@ static devio_err_e _spawn_epics_iocs (devio_t *devio, uint32_t dev_id,
"file"
,
err_cfg_exit
,
DEVIO_ERR_CFG
);
hutils_hints_t
*
cfg_item
=
zhashx_lookup
(
hints
,
hints_key
);
/* If key is not found or we were asked not to spawn EPICS IOC,
* assume we don't have any more DBE to prepare */
if
(
cfg_item
==
NULL
||
(
cfg_item
->
spawn_dbe_epics_ioc
==
false
&&
...
...
@@ -709,6 +710,11 @@ static devio_err_e _spawn_epics_iocs (devio_t *devio, uint32_t dev_id,
/* Check if we want DBE EPICS IOC */
if
(
cfg_item
->
spawn_afe_epics_ioc
==
true
)
{
/* Only spawn IOC if we spawn RFFE DEVIO */
if
(
cfg_item
->
bind
==
NULL
||
streq
(
cfg_item
->
bind
,
""
))
{
continue
;
}
/* Change working directory as EPICS startup files are located in a
* non-default directory */
zsys_dir_change
(
epics_afe_startup
);
...
...
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