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
dddd7b18
Commit
dddd7b18
authored
May 25, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/si571_ctl.c: add frequency readback
parent
9760e41a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
si571_ctl.c
examples/si571_ctl.c
+9
-0
No files found.
examples/si571_ctl.c
View file @
dddd7b18
...
...
@@ -141,6 +141,15 @@ int main (int argc, char *argv [])
goto
err_bpm_set_freq
;
}
double
freq
=
0
;
err
=
bpm_get_si571_freq
(
bpm_client
,
service
,
&
freq
);
if
(
err
!=
BPM_CLIENT_SUCCESS
){
fprintf
(
stderr
,
"[client:si571_ctl]: Si571 Set frequency failed
\n
"
);
goto
err_bpm_set_freq
;
}
printf
(
"Freq: %f
\n
"
,
freq
);
err_bpm_client_new:
err_bpm_set_freq:
bpm_client_destroy
(
&
bpm_client
);
...
...
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