From e2a8f6c8f44fe01d07d615195902ebefdc08c5b9 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 21 Jun 2025 14:12:27 +0200 Subject: [PATCH] course doesnt work --- src/fm95.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fm95.c b/src/fm95.c index acf42c2..6b637f7 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -441,7 +441,7 @@ int main(int argc, char **argv) { for(int stream = 0; stream < rds_streams; stream++) { uint8_t osc_stream = 12+stream; if(osc_stream == 13) osc_stream++; // 61.75 KHz is not used, idk why but would be cool if it was - mpx += (rds_in[rds_streams*i+stream]*get_oscillator_cos_multiplier_ni(&osc, osc_stream)) * (RDS_VOLUME * powf(RDS_VOLUME_STEP, stream - 1)); + mpx += (rds_in[rds_streams*i+stream]*get_oscillator_cos_multiplier_ni(&osc, osc_stream)) * (RDS_VOLUME * powf(RDS_VOLUME_STEP, stream)); } } if(mpx_on) mpx += mpx_in[i];