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
019733e5
Commit
019733e5
authored
Jun 07, 2016
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd:rt:out: replace define with an enum
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
e0287c64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
wrtd-rt-fd.c
applications/wrtd/rt/fd/wrtd-rt-fd.c
+6
-4
No files found.
applications/wrtd/rt/fd/wrtd-rt-fd.c
View file @
019733e5
...
...
@@ -42,10 +42,12 @@ static struct wrtd_out_channel wrtd_out_channels[FD_NUM_CHANNELS]; /**< Output
array */
static
struct
wrtd_out
wrtd_out_device
;
#define WR_LINK_OFFLINE 1
#define WR_LINK_ONLINE 2
#define WR_LINK_SYNCING 3
#define WR_LINK_SYNCED 4
enum
wrtd_in_wr_link
{
WR_LINK_OFFLINE
=
1
,
WR_LINK_ONLINE
,
WR_LINK_SYNCING
,
WR_LINK_SYNCED
,
};
static
int
wr_state
;
...
...
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