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
+3
View File
@@ -91,6 +91,9 @@ double anetz_kanal2freq(int kanal, int unterband)
{
double freq = 162.050;
if (unterband == 2)
return -4.500 * 1e6;
freq += (kanal - 30) * 0.050;
if (kanal >= 45)
freq += 6.800;