diff --git a/lib/bs412.c b/lib/bs412.c index 13ab34d..b4da6dd 100644 --- a/lib/bs412.c +++ b/lib/bs412.c @@ -21,9 +21,6 @@ float measure_mpx(MPXPowerMeasurement* mpx, float deviation) { float avg_deviation = sqrtf(mpx->sample / mpx->i); float modulation_power = deviation_to_dbr(avg_deviation); - if (mpx->i == 1 || (mpx->i % mpx->sample_rate) == 0) { - } - if (mpx->i >= mpx->sample_rate * 60) { mpx->sample = 0; mpx->i = 0;