From cbeb4305b59d4b9370bfa7c6f5da7597f9de8045 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 24 Jan 2012 08:38:36 -0800 Subject: usrp2: same change but to fw updater --- firmware/zpu/usrp2p/udp_fw_update.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'firmware/zpu/usrp2p') diff --git a/firmware/zpu/usrp2p/udp_fw_update.c b/firmware/zpu/usrp2p/udp_fw_update.c index 793011651..5689388a8 100644 --- a/firmware/zpu/usrp2p/udp_fw_update.c +++ b/firmware/zpu/usrp2p/udp_fw_update.c @@ -67,12 +67,8 @@ void handle_udp_fw_update_packet(struct socket_address src, struct socket_addres update_data_out.id = USRP2_FW_UPDATE_ID_OHAI_OMG; memcpy(&update_data_out.data.ip_addr, (void *)get_ip_addr(), sizeof(struct ip_addr)); //this is to stop streaming for the folks who think updating while streaming is a good idea - sr_rx_ctrl0->cmd = 1 << 31 | 1 << 28; //no samples now - sr_rx_ctrl0->time_secs = 0; - sr_rx_ctrl0->time_ticks = 0; //latch the command - sr_rx_ctrl1->cmd = 1 << 31 | 1 << 28; //no samples now - sr_rx_ctrl1->time_secs = 0; - sr_rx_ctrl1->time_ticks = 0; //latch the command + sr_rx_ctrl0->clear = 1; + sr_rx_ctrl1->clear = 1; sr_tx_ctrl->cyc_per_up = 0; break; -- cgit v1.2.3