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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user