mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
minor changes
This commit is contained in:
@@ -7,7 +7,7 @@ inline float dbr_to_deviation(float dbr) {
|
||||
}
|
||||
|
||||
inline float deviation_to_dbr(float deviation) {
|
||||
if(deviation == 0.0f) return -100.0f;
|
||||
if (deviation < 1e-6f) return -100.0f;
|
||||
return 10.0f * (log2f(deviation) - LOG2_19000) * 0.30103f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user