summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps
diff options
context:
space:
mode:
authormatt2008-12-14 19:47:11 +0000
committermatt2008-12-14 19:47:11 +0000
commite92cf3171d273ca1192647d240be75066bf38a4e (patch)
tree226f5fa861f52ce022d1df4fbc57990d7012461e /usrp2/firmware/apps
parent232cd6761feacce00c497dbf58fda30fcbbd863d (diff)
downloadgnuradio-e92cf3171d273ca1192647d240be75066bf38a4e.tar.gz
gnuradio-e92cf3171d273ca1192647d240be75066bf38a4e.tar.bz2
gnuradio-e92cf3171d273ca1192647d240be75066bf38a4e.zip
add break at end of new case to prevent fallthru. Also cleared up a warning.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10119 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps')
-rw-r--r--usrp2/firmware/apps/app_common_v2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c
index 702cbdb7c..9bb5e4d74 100644
--- a/usrp2/firmware/apps/app_common_v2.c
+++ b/usrp2/firmware/apps/app_common_v2.c
@@ -97,7 +97,7 @@ send_reply(unsigned char *reply, size_t reply_len)
}
if (0){
- printf("sending_reply to port %d, len = %d\n", cpu_tx_buf_dest_port, reply_len);
+ printf("sending_reply to port %d, len = %d\n", cpu_tx_buf_dest_port, (int)reply_len);
print_buffer(buffer_ram(CPU_TX_BUF), reply_len/4);
}
@@ -433,6 +433,7 @@ handle_control_chan_frame(u2_eth_packet_t *pkt, size_t len)
case OP_SYNC_TO_PPS:
subpktlen = generic_reply(gp, reply_payload, reply_payload_space,
sync_to_pps((op_generic_t *) payload));
+ break;
default:
printf("app_common_v2: unhandled opcode = %d\n", gp->opcode);