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

more standard

This commit is contained in:
2025-12-29 21:58:10 +01:00
parent 3577d67264
commit 87e97017df

View File

@@ -1,9 +1,7 @@
#include "bs412.h"
#define LOG2_19000 log2f(19000.0f)
inline float dbr_to_deviation(float dbr) {
return 19000.0f * powf(2.0f, dbr * 0.332193f);
return 19000.0f * pow(10.0, dbr / 10.0);
}
inline float deviation_to_dbr(float deviation) {