commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: eb
Subject: [Commit-gnuradio] r9499 - usrp2/trunk/firmware/apps
Date: Thu, 4 Sep 2008 22:36:24 -0600 (MDT)

Author: eb
Date: 2008-09-04 22:36:23 -0600 (Thu, 04 Sep 2008)
New Revision: 9499

Modified:
   usrp2/trunk/firmware/apps/app_common_v2.c
   usrp2/trunk/firmware/apps/eth_serdes.c
   usrp2/trunk/firmware/apps/ibs_rx_test.c
   usrp2/trunk/firmware/apps/txrx.c
Log:
cleaned up warnings

Modified: usrp2/trunk/firmware/apps/app_common_v2.c
===================================================================
--- usrp2/trunk/firmware/apps/app_common_v2.c   2008-09-04 22:51:15 UTC (rev 
9498)
+++ usrp2/trunk/firmware/apps/app_common_v2.c   2008-09-05 04:36:23 UTC (rev 
9499)
@@ -36,7 +36,7 @@
 // If this is non-zero, this dbsm could be writing to the ethernet
 dbsm_t *ac_could_be_sending_to_eth;
 
-static unsigned char exp_seqno = 0;
+static unsigned char exp_seqno __attribute__((unused)) = 0;
 
 
 static bool

Modified: usrp2/trunk/firmware/apps/eth_serdes.c
===================================================================
--- usrp2/trunk/firmware/apps/eth_serdes.c      2008-09-04 22:51:15 UTC (rev 
9498)
+++ usrp2/trunk/firmware/apps/eth_serdes.c      2008-09-05 04:36:23 UTC (rev 
9499)
@@ -41,7 +41,7 @@
 #define FW_SETS_SEQNO  1       // define to 0 or 1 (FIXME must be 1 for now)
 
 #if (FW_SETS_SEQNO)
-static int fw_seqno;   // used when f/w is filling in sequence numbers
+static int fw_seqno __attribute__((unused));   // used when f/w is filling in 
sequence numbers
 #endif
 
 

Modified: usrp2/trunk/firmware/apps/ibs_rx_test.c
===================================================================
--- usrp2/trunk/firmware/apps/ibs_rx_test.c     2008-09-04 22:51:15 UTC (rev 
9498)
+++ usrp2/trunk/firmware/apps/ibs_rx_test.c     2008-09-05 04:36:23 UTC (rev 
9499)
@@ -11,8 +11,8 @@
 
 int buffer_state[4];
 
-static void
-wait_until_status_nonzero(void)
+static void __attribute__((unused))
+wait_until_status_nonzero(void) 
 {
   while (buffer_pool_status->status == 0)
     ;

Modified: usrp2/trunk/firmware/apps/txrx.c
===================================================================
--- usrp2/trunk/firmware/apps/txrx.c    2008-09-04 22:51:15 UTC (rev 9498)
+++ usrp2/trunk/firmware/apps/txrx.c    2008-09-05 04:36:23 UTC (rev 9499)
@@ -256,7 +256,7 @@
   u2_init();
 
   putstr("\nTxRx\n");
-  print_mac_addr(ethernet_mac_addr());
+  print_mac_addr(ethernet_mac_addr()->addr);
   newline();
 
   ethernet_register_link_changed_callback(link_changed_callback);





reply via email to

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