aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz/anetz.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-10-12 19:43:15 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-10-22 19:23:06 +0200
commitf7a0e4622bed9551bb0999d3c54bb69249065d38 (patch)
treeb0f4585d3d7b013046636285783157aa993c2fd3 /src/anetz/anetz.c
parente67c171035807f547ae2eeb7359d7ec8d158cc2a (diff)
Display channel offset with TX and RX channel frequencies on startup
Diffstat (limited to 'src/anetz/anetz.c')
-rw-r--r--src/anetz/anetz.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/anetz/anetz.c b/src/anetz/anetz.c
index e19c47a..1d58efe 100644
--- a/src/anetz/anetz.c
+++ b/src/anetz/anetz.c
@@ -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;