From cfab7123cc4e431739eeebe86366be2909a832d1 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 5 Jun 2013 18:18:18 -0400 Subject: [PATCH] Non-functional cosmetic changes. --- lib/air_modes_slicer.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/air_modes_slicer.cc b/lib/air_modes_slicer.cc index 1b7dbbb..34d916d 100644 --- a/lib/air_modes_slicer.cc +++ b/lib/air_modes_slicer.cc @@ -160,16 +160,12 @@ int air_modes_slicer::work(int noutput_items, } } - /******************** BEGIN TIMESTAMP BS ******************/ rx_packet.timestamp = pmt_to_double(tag_iter->value); - /******************* END TIMESTAMP BS *********************/ - //increment for the next round - - //here you might want to traverse the whole packet and if you find all 0's, just toss it. don't know why these packets turn up, but they pass ECC. + //traverse the whole packet and if you find all 0's, just toss it. don't know why these packets turn up, but they pass ECC. bool zeroes = 1; for(int m = 0; m < 14; m++) { - if(rx_packet.data[m]) zeroes = 0; + if(rx_packet.data[m]) { zeroes = 0; break; } } if(zeroes) {continue;} //toss it