diff --git a/src/lib/air_modes_preamble.cc b/src/lib/air_modes_preamble.cc index e9e95fa..8f3b17f 100644 --- a/src/lib/air_modes_preamble.cc +++ b/src/lib/air_modes_preamble.cc @@ -55,19 +55,13 @@ air_modes_preamble::air_modes_preamble(int channel_rate, float threshold_db) : set_history(d_check_width); } -static int early_late(const float *data) { - if(data[-1] > data[0]) return -1; - else if(data[1] > data[0]) return 1; - else return 0; -} - static void integrate_and_dump(float *out, const float *in, int chips, int samps_per_chip) { for(int i=0; i= 10) continue; + if(rx_packet.message_type == 11 && rx_packet.numlowconf >= 10) continue; //if(rx_packet.numlowconf >= 24) continue; //don't even try, this is the maximum number of errors ECC could possibly correct