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

stuff for developing, actual debug mode as well as add the vban protocol specs

This commit is contained in:
2025-05-25 12:37:07 +02:00
parent f8c1671de2
commit a19427c9c4
11 changed files with 70 additions and 16 deletions

View File

@@ -13,6 +13,9 @@ void init_modulation_power_measure(MPXPowerMeasurement* mpx, int sample_rate) {
mpx->sample_counter = 0;
mpx->sample = 0;
mpx->sample_rate = sample_rate;
#ifdef BS412_DEBUG
debug_printf("Initialized MPX power measurement with sample rate: %d\n", sample_rate);
#endif
}
float measure_mpx(MPXPowerMeasurement* mpx, float deviation) {