mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 00:09:16 +02:00
optimize or just clean up
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ float measure_mpx(MPXPowerMeasurement* mpx, float deviation) {
|
||||
#ifdef BS412_RMS
|
||||
float avg_deviation = sqrtf(mpx->sample * inv_counter); // RMs
|
||||
#else
|
||||
float avg_deviation = mpx->sample * inv_counter; // RMs
|
||||
float avg_deviation = mpx->sample * inv_counter;
|
||||
#endif
|
||||
float modulation_power = deviation_to_dbr(avg_deviation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user