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
ffefd673
Commit
ffefd673
authored
Jul 21, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: show list of supported board in help()
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
fecd08f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
fald-acq.c
libtools/fald-acq.c
+1
-1
fald-simple-get-conf.c
libtools/fald-simple-get-conf.c
+4
-0
No files found.
libtools/fald-acq.c
View file @
ffefd673
...
...
@@ -42,7 +42,7 @@ static void fald_help()
printf
(
"
\n
fald-simple-acq [OPTIONS] <device-name> 0x<device-id>
\n\n
"
);
printf
(
" <device-name>: name of the device to open
\n
"
);
for
(
i
=
0
;
i
<
__ADC_SUPPORTED_BOARDS_LAST_INDEX
;
i
++
)
printf
(
" %s
\n
"
,
adc_
supported_board_names
[
i
]);
printf
(
" %s
\n
"
,
adc_
board_name
[
i
]);
printf
(
" <device-id>: unique device identifier (e.g.:
\"
0x0400
\"
)
\n
"
);
printf
(
" --before|-b <num> number of pre samples
\n
"
);
printf
(
" --after|-a <num> n. of post samples (default: 16)
\n
"
);
...
...
libtools/fald-simple-get-conf.c
View file @
ffefd673
...
...
@@ -18,8 +18,12 @@
static
void
fald_help
()
{
int
i
;
printf
(
"
\n
fald-simple-get-conf [OPTIONS] <device-name> 0x<device-id>
\n\n
"
);
printf
(
" <device-name>: name of the device to open
\n
"
);
for
(
i
=
0
;
i
<
__ADC_SUPPORTED_BOARDS_LAST_INDEX
;
i
++
)
printf
(
" %s
\n
"
,
adc_board_name
[
i
]);
printf
(
" <device-id>: unique device identifier (e.g.:
\"
0x0400
\"
)
\n
"
);
printf
(
" --help|-h: show this help
\n\n
"
);
}
...
...
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