commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r6105 - gnuradio/branches/developers/trondeau/ofdm_mod


From: trondeau
Subject: [Commit-gnuradio] r6105 - gnuradio/branches/developers/trondeau/ofdm_mod/gnuradio-core/src/lib/general
Date: Fri, 3 Aug 2007 04:58:04 -0600 (MDT)

Author: trondeau
Date: 2007-08-03 04:58:04 -0600 (Fri, 03 Aug 2007)
New Revision: 6105

Modified:
   
gnuradio/branches/developers/trondeau/ofdm_mod/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
Log:
adding braces for clarity/future protection...

Modified: 
gnuradio/branches/developers/trondeau/ofdm_mod/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
===================================================================
--- 
gnuradio/branches/developers/trondeau/ofdm_mod/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
     2007-08-03 06:09:23 UTC (rev 6104)
+++ 
gnuradio/branches/developers/trondeau/ofdm_mod/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
     2007-08-03 10:58:04 UTC (rev 6105)
@@ -69,11 +69,12 @@
 
   int i=d_fft_length-1;
 
-  while(!found && i<std::min(ninput_items[0],ninput_items[1]) )
+  while(!found && i<std::min(ninput_items[0],ninput_items[1]) ) {
     if(trigger[i])
       found = 1;
     else
       i++;
+  }
 
   if(found) {
     assert(i-d_fft_length+1 >= 0);
@@ -89,6 +90,5 @@
     //  ninput_items[0], ninput_items[1], noutput_items, (i-d_fft_length+1), 
found);
  }
 
-
   return found;
 }





reply via email to

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