mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 08:49:17 +02:00
show avg deviation in debug too
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user