WIP: Layer 2-Implementierung #6
|
@ -206,7 +206,7 @@ static enum squelch_state_t update_and_check_squelch(layer1_rx_t *rx, unsigned i
|
||||||
// Adjustment value is in dB.
|
// Adjustment value is in dB.
|
||||||
rx->noise_floor_level += 1e-4f;
|
rx->noise_floor_level += 1e-4f;
|
||||||
}
|
}
|
||||||
agc_crcf_squelch_set_threshold(rx->agc, rx->noise_floor_level + 10.0f); // in dB
|
agc_crcf_squelch_set_threshold(rx->agc, rx->noise_floor_level + 6.0f); // in dB
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(agc_crcf_squelch_get_status(rx->agc)) {
|
switch(agc_crcf_squelch_get_status(rx->agc)) {
|
||||||
|
|
Loading…
Reference in a new issue