summaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-09 22:37:37 -0800
committerJosh Blum <josh@joshknows.com>2011-01-09 22:37:37 -0800
commit916223ef3544452bee57b08f9593aa9da66212a5 (patch)
treebad6280f40e305e2faa692dacccb39ac862e883c /firmware/zpu/lib
parentac97f5ba9c07b29840eddc9f3ecfcac5d9926efd (diff)
downloaduhd-916223ef3544452bee57b08f9593aa9da66212a5.tar.gz
uhd-916223ef3544452bee57b08f9593aa9da66212a5.tar.bz2
uhd-916223ef3544452bee57b08f9593aa9da66212a5.zip
usrp2: eth addrs, wrong type, should be bool
Diffstat (limited to 'firmware/zpu/lib')
-rw-r--r--firmware/zpu/lib/eth_addrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/zpu/lib/eth_addrs.c b/firmware/zpu/lib/eth_addrs.c
index ff5d04f4d..0c40e2dca 100644
--- a/firmware/zpu/lib/eth_addrs.c
+++ b/firmware/zpu/lib/eth_addrs.c
@@ -45,7 +45,7 @@ unprogrammed(const void *t, size_t len)
//////////////////// MAC Addr Stuff ///////////////////////
-static int8_t src_mac_addr_initialized = false;
+static bool src_mac_addr_initialized = false;
static const eth_mac_addr_t default_mac_addr = {{
0x00, 0x50, 0xC2, 0x85, 0x3f, 0xff
@@ -98,7 +98,7 @@ ethernet_set_mac_addr(const eth_mac_addr_t *t)
//////////////////// IP Addr Stuff ///////////////////////
-static int8_t src_ip_addr_initialized = false;
+static bool src_ip_addr_initialized = false;
static const struct ip_addr default_ip_addr = {
(192 << 24 | 168 << 16 | 10 << 8 | 2 << 0)