0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
Files
fm95/lib/bs412.h
2025-03-29 19:01:19 +01:00

14 lines
263 B
C

#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);