mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 00:39:17 +02:00
fix
This commit is contained in:
+1
-1
@@ -545,7 +545,7 @@ int main(int argc, char **argv) {
|
||||
float mpx_only = measure_mpx(&mpx_only_power, mpx * mpx_deviation);
|
||||
float mpower = measure_mpx(&power, (audio+mpx) * mpx_deviation);
|
||||
if (mpower > mpx_power) {
|
||||
float excess_power = mpower - mpx_power - mpx_only_power;
|
||||
float excess_power = mpower - mpx_power - mpx_only;
|
||||
audio *= (dbr_to_deviation(-excess_power)/mpx_deviation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user