commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10119 - gnuradio/trunk/usrp2/firmware/apps


From: matt
Subject: [Commit-gnuradio] r10119 - gnuradio/trunk/usrp2/firmware/apps
Date: Sun, 14 Dec 2008 12:47:12 -0700 (MST)

Author: matt
Date: 2008-12-14 12:47:11 -0700 (Sun, 14 Dec 2008)
New Revision: 10119

Modified:
   gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c
Log:
add break at end of new case to prevent fallthru.  Also cleared up a warning.


Modified: gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c
===================================================================
--- gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c  2008-12-14 17:58:24 UTC 
(rev 10118)
+++ gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c  2008-12-14 19:47:11 UTC 
(rev 10119)
@@ -97,7 +97,7 @@
   }
 
   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 @@
     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);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]