0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

make the bs412 actually work (use rms)

This commit is contained in:
2025-04-18 22:02:08 +02:00
parent de3763dc83
commit e730f13a6d
3 changed files with 21 additions and 13 deletions

View File

@@ -1,11 +1,12 @@
#pragma once
#include "debug.h"
#include <math.h>
typedef struct
{
int i;
int sample_rate;
float sample;
double sample;
} MPXPowerMeasurement;
float dbr_to_deviation(float dbr);