From 1fd679c4fa3f4c2d11c66d56e6afb16773aea7c9 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 24 Jan 2026 10:20:42 +0100 Subject: [PATCH] oh --- filter/bs412.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filter/bs412.c b/filter/bs412.c index 6d0a2b9..0bdc794 100644 --- a/filter/bs412.c +++ b/filter/bs412.c @@ -50,6 +50,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) { debug_printf("MPX power: %.2f dBr with gain %.2fx (%.2f dBr)\n", modulation_power, mpx->gain, deviation_to_dbr(avg_deviation * mpx->gain)); #endif mpx->sample_counter = 0; + if(mpx->can_compress == 0) mpx->second_counter++; } if(mpx->can_compress == 0 && mpx->second_counter > BS412_TIME) {