From 232a5164a6dc6f8fe2392905d36d8a2ad39ad56e Mon Sep 17 00:00:00 2001 From: bkleiner Date: Wed, 11 Oct 2023 01:42:17 +0200 Subject: [PATCH] rx: round filter cutoff and lower slightly --- src/rx/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 8ff4220f4..3b99aab07 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -298,7 +298,7 @@ void rx_update() { if (rx_filter_delta > RX_FITER_SAMPLE_TIME) { const float sample_hz = (float)rx_filter_counter / ((float)rx_filter_delta / 1000.0f); - state.rx_filter_hz = sample_hz * 0.5; + state.rx_filter_hz = rintf(sample_hz * 0.45f); rx_filter_start = time_millis(); rx_filter_counter = 0; }