Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Software
Commits
743578a6
Commit
743578a6
authored
Dec 01, 2015
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libtools: add new line at "cannot open device" error
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
52a78da9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
fald-acq.c
libtools/fald-acq.c
+1
-1
fald-bad-clock.c
libtools/fald-bad-clock.c
+1
-1
fald-simple-acq.c
libtools/fald-simple-acq.c
+1
-1
fald-simple-get-conf.c
libtools/fald-simple-get-conf.c
+1
-1
No files found.
libtools/fald-acq.c
View file @
743578a6
...
...
@@ -864,7 +864,7 @@ int main(int argc, char *argv[])
/*acq.value[FMCADC_CONF_ACQ_N_SHOTS]*/
0
,
FMCADC_F_FLUSH
/*0*/
);
if
(
!
adc
)
{
fprintf
(
stderr
,
"%s: cannot open device: %s"
,
fprintf
(
stderr
,
"%s: cannot open device: %s
\n
"
,
argv
[
0
],
fmcadc_strerror
(
errno
));
exit
(
1
);
}
...
...
libtools/fald-bad-clock.c
View file @
743578a6
...
...
@@ -85,7 +85,7 @@ int main (int argc, char *argv[])
adc
=
fmcadc_open
(
"fmc-adc-100m14b4cha"
,
devid
,
0
,
0
,
FMCADC_F_FLUSH
);
if
(
!
adc
)
{
fprintf
(
stderr
,
"%s: cannot open device: %s"
,
fprintf
(
stderr
,
"%s: cannot open device: %s
\n
"
,
argv
[
0
],
fmcadc_strerror
(
errno
));
exit
(
1
);
}
...
...
libtools/fald-simple-acq.c
View file @
743578a6
...
...
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
nshots
,
FMCADC_F_FLUSH
);
if
(
!
adc
)
{
fprintf
(
stderr
,
"%s: cannot open device: %s"
,
fprintf
(
stderr
,
"%s: cannot open device: %s
\n
"
,
argv
[
0
],
fmcadc_strerror
(
errno
));
exit
(
1
);
}
...
...
libtools/fald-simple-get-conf.c
View file @
743578a6
...
...
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
/* no buffers expexted */
0
,
0
,
/* no flush either */
0
);
if
(
!
adc
)
{
fprintf
(
stderr
,
"%s: cannot open device: %s"
,
fprintf
(
stderr
,
"%s: cannot open device: %s
\n
"
,
argv
[
0
],
fmcadc_strerror
(
errno
));
exit
(
1
);
}
...
...
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