aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib/pkt_ctrl.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-11 12:19:22 -0800
committerJosh Blum <josh@joshknows.com>2011-01-11 12:19:22 -0800
commit599771914d0848875a0056cd60850eec39b06654 (patch)
tree66ddf3ee03ca33a19be565bb6fb5d1b22b52fc3c /firmware/zpu/lib/pkt_ctrl.h
parent09e06246984546ad29c159a64f8c0419b81f8013 (diff)
downloaduhd-599771914d0848875a0056cd60850eec39b06654.tar.gz
uhd-599771914d0848875a0056cd60850eec39b06654.tar.bz2
uhd-599771914d0848875a0056cd60850eec39b06654.zip
usrp2: restart read before mode switch, added comments
use cmake compiler force macro (to simplify things), added copyright updates dates to some files
Diffstat (limited to 'firmware/zpu/lib/pkt_ctrl.h')
-rw-r--r--firmware/zpu/lib/pkt_ctrl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/zpu/lib/pkt_ctrl.h b/firmware/zpu/lib/pkt_ctrl.h
index 410ffdaa4..15e4b0c4d 100644
--- a/firmware/zpu/lib/pkt_ctrl.h
+++ b/firmware/zpu/lib/pkt_ctrl.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 Ettus Research LLC
+ * Copyright 2010-2011 Ettus Research LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,8 +24,8 @@
#include <lwip/ip_addr.h>
typedef enum {
- PKT_CTRL_ROUTING_MODE_SLAVE,
- PKT_CTRL_ROUTING_MODE_MASTER,
+ PKT_CTRL_ROUTING_MODE_SLAVE = 0,
+ PKT_CTRL_ROUTING_MODE_MASTER = 1
} pkt_ctrl_routing_mode_t;
//! Program the decision values into the packet inspector