Commit 28ccad4b authored by Federico Vaga's avatar Federico Vaga

wrtd:rt:out: replace define with an enum

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 1e04c120
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment