aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/apps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-29 11:15:24 -0800
committerJosh Blum <josh@joshknows.com>2010-12-29 11:15:24 -0800
commitca0f4f0be8c19533007e4284d1ccc47df0f1c6e3 (patch)
tree330cdf2e01d50dc7976fad31797041efde5a4d15 /firmware/zpu/apps
parentf56097198fad8423bba41a9c083abdc3b41f016a (diff)
downloaduhd-ca0f4f0be8c19533007e4284d1ccc47df0f1c6e3.tar.gz
uhd-ca0f4f0be8c19533007e4284d1ccc47df0f1c6e3.tar.bz2
uhd-ca0f4f0be8c19533007e4284d1ccc47df0f1c6e3.zip
usrp2: remove ram macros from memory map, conditionally load fw update
Diffstat (limited to 'firmware/zpu/apps')
-rw-r--r--firmware/zpu/apps/txrx_uhd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/zpu/apps/txrx_uhd.c b/firmware/zpu/apps/txrx_uhd.c
index 61c2521b9..2030b1ce9 100644
--- a/firmware/zpu/apps/txrx_uhd.c
+++ b/firmware/zpu/apps/txrx_uhd.c
@@ -368,7 +368,9 @@ main(void)
register_udp_listener(USRP2_UDP_CTRL_PORT, handle_udp_ctrl_packet);
register_udp_listener(USRP2_UDP_DATA_PORT, handle_udp_data_packet);
register_udp_listener(USRP2_UDP_ERR0_PORT, handle_udp_err0_packet);
+#ifdef USRP2P
register_udp_listener(USRP2_UDP_UPDATE_PORT, handle_udp_fw_update_packet);
+#endif
//3) set the routing mode to slave and send a garp
pkt_ctrl_set_routing_mode(PKT_CTRL_ROUTING_MODE_SLAVE);