summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/firmware/apps')
-rw-r--r--usrp2/firmware/apps/rx_only_v2.c2
-rw-r--r--usrp2/firmware/apps/set_hw_rev.c2
-rw-r--r--usrp2/firmware/apps/test_ram.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/usrp2/firmware/apps/rx_only_v2.c b/usrp2/firmware/apps/rx_only_v2.c
index fc5907415..303d340e8 100644
--- a/usrp2/firmware/apps/rx_only_v2.c
+++ b/usrp2/firmware/apps/rx_only_v2.c
@@ -101,8 +101,6 @@ u2_mac_addr_t host_mac_addr;
void link_changed_callback(int speed);
-static volatile bool link_is_up = false; // eth handler sets this
-
void
start_rx_streaming_cmd(const u2_mac_addr_t *host, op_start_rx_streaming_t *p)
diff --git a/usrp2/firmware/apps/set_hw_rev.c b/usrp2/firmware/apps/set_hw_rev.c
index 0d7adbd34..d4ac8ff81 100644
--- a/usrp2/firmware/apps/set_hw_rev.c
+++ b/usrp2/firmware/apps/set_hw_rev.c
@@ -40,4 +40,6 @@ main(void)
printf("OK: set h/w rev to %d.%d\n", HW_REV_MAJOR, HW_REV_MINOR);
else
printf("FAILED to set h/w rev to %d.%d\n", HW_REV_MAJOR, HW_REV_MINOR);
+
+ return 0;
}
diff --git a/usrp2/firmware/apps/test_ram.c b/usrp2/firmware/apps/test_ram.c
index b9946f724..776644345 100644
--- a/usrp2/firmware/apps/test_ram.c
+++ b/usrp2/firmware/apps/test_ram.c
@@ -47,7 +47,6 @@ int
main(void)
{
int i,j,k;
- unsigned char buf[512];
u2_init();
//hal_uart_init();