I compiled tlf 1.1pre2 earlier today, was testing it out, and found that
when switching to 40 meters, tlf was not changing to 40, even though the
correct frequency was showing.  Turns out the 40 meter frequency I was
checking to was between 7200 and 7300 khz, and tlf wasn't recognizing it
as a 40 meter frequency when switching to it (but it was recognized at
startup).  Looks like the problem is incorrect band-edges specified for
40 in gettxinfo.c.  Attached  is a patch for this.

Ben
-- 
Ben Coleman n...@benshome.net
 "I love the way Microsoft follows standards.  In much the
same manner that fish follow migrating caribou."
                                            Paul Tomblin
>From adb75956d1797ac3c8fe025f17f5c90f228da28b Mon Sep 17 00:00:00 2001
From: Ben Coleman NJ8J <n...@benshome.net>
Date: Fri, 28 Oct 2011 00:29:26 -0400
Subject: [PATCH] Fix 40 meter band frequencies

---
 src/gettxinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gettxinfo.c b/src/gettxinfo.c
index c6ac6ef..f35f5cb 100644
--- a/src/gettxinfo.c
+++ b/src/gettxinfo.c
@@ -87,7 +87,7 @@ int gettxinfo(void)
 		bandfrequency[bandinx] = freq;
 		break;
 	    }
-	case 7000 ... 7200:{
+	case 7000 ... 7300:{
 		bandinx = 2;
 		bandfrequency[bandinx] = freq;
 		break;
-- 
1.7.0.4

_______________________________________________
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel

Reply via email to