show avg deviation in debug too

This commit is contained in:
2025-07-15 20:55:32 +02:00
parent cb60c4cc9c
commit ae9453b63c
+1 -1
View File
@@ -42,7 +42,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
#ifdef BS412_DEBUG #ifdef BS412_DEBUG
if(mpx->average_counter % mpx->sample_rate == 0) { if(mpx->average_counter % mpx->sample_rate == 0) {
debug_printf("MPX power: %.2f dBr\n", modulation_power); debug_printf("MPX power: %.2f dBr (%.0f)\n", modulation_power, avg_deviation);
} }
#endif #endif