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
b17191a3
Commit
b17191a3
authored
Jan 29, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/dev_io/dev_io.c: fix whitspace errors introduced by
692bbf39
parent
0e065906
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dev_io.c
src/dev_io/dev_io.c
+7
-7
No files found.
src/dev_io/dev_io.c
View file @
b17191a3
...
...
@@ -292,32 +292,32 @@ int main (int argc, char *argv[])
snprintf
(
devio_config_service_str
,
DEVIO_SERVICE_LEN
-
1
,
"BPM%u:DEVIO_CFG:AFC_DIAG%u"
,
dev_id
,
0
);
devio_config_service_str
[
DEVIO_SERVICE_LEN
-
1
]
=
'\0'
;
/* Just in case ... */
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_INFO
,
"[dev_io] Creating libclient for DEVIO config
\n
"
);
bpm_client_err_e
client_err
=
BPM_CLIENT_SUCCESS
;
/* Give DEVIO CFG some time more to answer (DEVIO_CFG_TIMEOUT) as it was just spawned... */
client_cfg
=
bpm_client_new_log_mode_time
(
broker_endp
,
0
,
"stdout"
,
DEVIO_LIBBPMCLIENT_LOG_MODE
,
DEVIO_CFG_TIMEOUT
);
if
(
client_cfg
==
NULL
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[dev_io] Could not create "
"DEVIO Config libclient instance
\n
"
);
goto
err_client_cfg
;
}
/* Get uTCA card slot number */
client_err
=
bpm_get_afc_diag_card_slot
(
client_cfg
,
devio_config_service_str
,
&
dev_id
);
if
(
client_err
!=
BPM_CLIENT_SUCCESS
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[dev_io] Could not retrieve "
"slot number. Unsupported board?
\n
"
);
goto
err_card_slot
;
}
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_INFO
,
"[dev_io] Slot number: 0x%08X
\n
"
,
dev_id
);
/* We could just leave DEVIO CFG arounf and not kill it. We do it just
* for the sake not having unnecessary things running, as the regular
* DEVIO already spwan the same service (i.e., AFC DIAG) as DEVIO CFG */
...
...
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