Commit 019733e5 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>
parent e0287c64
......@@ -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