try to measure mpx power

This commit is contained in:
2025-03-29 19:01:19 +01:00
parent d2393dc2e7
commit 3a1904511f
4 changed files with 47 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include <math.h>
typedef struct
{
int i;
int sample_rate;
float sample;
} MPXPowerMeasurement;
void init_modulation_power_measure(MPXPowerMeasurement *mpx, int sample_rate);
float measure_mpx(MPXPowerMeasurement *mpx, int deviation);