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
24424669
Commit
24424669
authored
Apr 26, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/si571_ctl.c: update si57x function name
parent
c3ca85b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
si571_ctl.c
examples/si571_ctl.c
+2
-2
No files found.
examples/si571_ctl.c
View file @
24424669
...
@@ -127,7 +127,7 @@ int main (int argc, char *argv [])
...
@@ -127,7 +127,7 @@ int main (int argc, char *argv [])
}
}
char
service
[
50
];
char
service
[
50
];
snprintf
(
service
,
sizeof
(
service
),
"BPM%u:DEVIO:FMC
_ACTIVE_CLK
%u"
,
board_number
,
bpm_number
);
snprintf
(
service
,
sizeof
(
service
),
"BPM%u:DEVIO:FMC
130M_4CH
%u"
,
board_number
,
bpm_number
);
bpm_client_t
*
bpm_client
=
bpm_client_new
(
broker_endp
,
verbose
,
NULL
);
bpm_client_t
*
bpm_client
=
bpm_client_new
(
broker_endp
,
verbose
,
NULL
);
if
(
bpm_client
==
NULL
)
{
if
(
bpm_client
==
NULL
)
{
...
@@ -135,7 +135,7 @@ int main (int argc, char *argv [])
...
@@ -135,7 +135,7 @@ int main (int argc, char *argv [])
goto
err_bpm_client_new
;
goto
err_bpm_client_new
;
}
}
bpm_client_err_e
err
=
bpm_set_si571_
set_
freq
(
bpm_client
,
service
,
si571_freq
);
bpm_client_err_e
err
=
bpm_set_si571_freq
(
bpm_client
,
service
,
si571_freq
);
if
(
err
!=
BPM_CLIENT_SUCCESS
){
if
(
err
!=
BPM_CLIENT_SUCCESS
){
fprintf
(
stderr
,
"[client:si571_ctl]: Si571 Set frequency failed
\n
"
);
fprintf
(
stderr
,
"[client:si571_ctl]: Si571 Set frequency failed
\n
"
);
goto
err_bpm_set_freq
;
goto
err_bpm_set_freq
;
...
...
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