0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 11:22:00 +01:00
This commit is contained in:
2026-01-24 10:20:42 +01:00
parent 018f9490ce
commit 1fd679c4fa

View File

@@ -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) {