Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
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
Mock Turtle
Commits
2d7d47b4
Commit
2d7d47b4
authored
Jul 15, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd:tools: make clear separation between channel and entire device
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
2579a70e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wrtd-out-config.c
applications/wrtd/tools/wrtd-out-config.c
+4
-4
No files found.
applications/wrtd/tools/wrtd-out-config.c
View file @
2d7d47b4
...
...
@@ -112,7 +112,7 @@ static void dump_output_state(struct wrtd_output_state *state)
printf
(
"Channel %d: disabled
\n
"
,
state
->
output
);
decode_flags
(
tmp
,
state
->
flags
);
printf
(
"Output %d state:
\n
"
,
state
->
output
);
printf
(
"Output
channel
%d state:
\n
"
,
state
->
output
);
printf
(
" - Flags: %s
\n
"
,
tmp
);
decode_mode
(
tmp
,
state
->
mode
);
printf
(
" - Mode: %s
\n
"
,
tmp
);
...
...
@@ -151,12 +151,12 @@ static void dump_output_state(struct wrtd_output_state *state)
format_id
(
tmp2
,
state
->
last_lost
.
id
);
printf
(
" - Last missed/lost trigger: %s, ID: %s, SeqNo %d
\n
"
,
tmp
,
tmp2
,
state
->
last_lost
.
seq
);
wrtd_strlogging_full
(
tmp
,
state
->
log_level
);
printf
(
" - Log level: %s
\n
"
,
tmp
);
printf
(
"Global Output information:
\n
"
);
printf
(
" - Total RX messages: %-10d
\n
"
,
state
->
received_messages
);
printf
(
" - Total loopback messages: %-10d
\n
"
,
state
->
received_loopback
);
wrtd_strlogging_full
(
tmp
,
state
->
log_level
);
printf
(
" - Log level: %s
\n
"
,
tmp
);
}
static
int
wrtd_cmq_has_trig
(
struct
wrtd_node
*
wrtd
,
int
output
,
...
...
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