Non-functional cosmetic changes.
This commit is contained in:
parent
a847f5f875
commit
cfab7123cc
@ -160,16 +160,12 @@ int air_modes_slicer::work(int noutput_items,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************** BEGIN TIMESTAMP BS ******************/
|
|
||||||
rx_packet.timestamp = pmt_to_double(tag_iter->value);
|
rx_packet.timestamp = pmt_to_double(tag_iter->value);
|
||||||
/******************* END TIMESTAMP BS *********************/
|
|
||||||
|
|
||||||
//increment for the next round
|
//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.
|
||||||
|
|
||||||
//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.
|
|
||||||
bool zeroes = 1;
|
bool zeroes = 1;
|
||||||
for(int m = 0; m < 14; m++) {
|
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
|
if(zeroes) {continue;} //toss it
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user