mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-29 15:59:14 +02:00
oops
This commit is contained in:
+1
-1
@@ -22,6 +22,6 @@ float dbr_to_deviation(float dbr) {
|
||||
return 19000.0f * powf(10.0f, dbr / 10.0f);
|
||||
}
|
||||
|
||||
float deviation_to_dbr(float dbr) {
|
||||
float deviation_to_dbr(float deviation) {
|
||||
return 10*log10f(deviation/19000.0f);
|
||||
}
|
||||
+1
-1
@@ -14,4 +14,4 @@ float measure_mpx(MPXPowerMeasurement *mpx, int deviation);
|
||||
|
||||
float dbr_to_deviation(float dbr);
|
||||
|
||||
float deviation_to_dbr(float dbr);
|
||||
float deviation_to_dbr(float deviation);
|
||||
|
||||
Reference in New Issue
Block a user