0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

wrong counter

This commit is contained in:
2025-12-30 22:20:29 +01:00
parent fb5c8f46ef
commit 89df94b096

View File

@@ -60,7 +60,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
if(mpx->can_compress == 0) mpx->second_counter++;
}
if(mpx->can_compress == 0 && mpx->sample_counter > 60) {
if(mpx->can_compress == 0 && mpx->second_counter > 60) {
#ifdef BS412_DEBUG
debug_printf("Can compress.\n");
#endif