0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 11:33:54 +01:00

show gain with dbr

This commit is contained in:
2025-08-03 16:13:54 +02:00
parent db61f78e5a
commit 07017aacd8
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
#ifdef BS412_DEBUG
if(mpx->average_counter % mpx->sample_rate == 0) {
debug_printf("MPX power: %.2f dBr (%.0f) with gain %.2fx\n", modulation_power, avg_deviation, mpx->gain);
debug_printf("MPX power: %.2f dBr (%.0f) with gain %.2fx (%.2f dBr)\n", modulation_power, avg_deviation, mpx->gain, deviation_to_dbr(avg_deviation * mpx->gain));
}
#endif