Author: matt
Date: 2007-11-03 16:51:15 -0600 (Sat, 03 Nov 2007)
New Revision: 6808

Modified:
   gnuradio/branches/developers/matt/u2f/firmware/gen_eth_packets.c
Log:
the reason we never sent any packets -- we interrupted the transfer of the 
first packet because of the bad termination clause


Modified: gnuradio/branches/developers/matt/u2f/firmware/gen_eth_packets.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/gen_eth_packets.c    
2007-11-03 03:30:12 UTC (rev 6807)
+++ gnuradio/branches/developers/matt/u2f/firmware/gen_eth_packets.c    
2007-11-03 22:51:15 UTC (rev 6808)
@@ -219,7 +219,7 @@
 
       bp_send_from_buf(0, PORT_ETH, 1, 0, 300);
 
-      while ((buffer_pool_status->status & (BPS_DONE_0|BPS_ERROR_0)) != 0)
+      while ((buffer_pool_status->status & (BPS_DONE_0|BPS_ERROR_0)) == 0)
        ;
       bp_clear_buf(0);
 



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to