Display channel offset with TX and RX channel frequencies on startup

This commit is contained in:
Andreas Eversberg
2017-10-12 19:43:15 +02:00
parent e67c171035
commit f7a0e4622b
12 changed files with 32 additions and 9 deletions

View File

@@ -118,6 +118,9 @@ double bnetz_kanal2freq(int kanal, int unterband)
{
double freq = 153.010;
if (unterband == 2)
return -4.600 * 1e6;
if (kanal >= 50)
freq += 9.200 - 0.020 * 49;
freq += (kanal - 1) * 0.020;