[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tlf-devel] non-hamlib
From: |
Jason Wright |
Subject: |
[Tlf-devel] non-hamlib |
Date: |
Tue, 1 Nov 2005 11:57:25 -0500 |
User-agent: |
Mutt/1.5.9i |
Not sure exactly what the intent in this code is, but trying to compile
tlf w/out hamlib support doesn't work without this (undefined reference
to rignum).
Patch below is against 0.9.24
--Jason L. Wright
--- src/callinput.c.orig Tue Nov 1 11:50:53 2005
+++ src/callinput.c Tue Nov 1 11:52:46 2005
@@ -258,7 +258,7 @@ printcall();
mvprintw(12, 0, band[bandinx]);
printcall();
i--;
-#ifdef HAVE_LIBHAMLIB
+#ifndef HAVE_LIBHAMLIB
if (trx_control == 1) {
outfreq = (int)
(bandfrequency[bandinx] * 1000) ;
@@ -297,7 +297,7 @@ printcall();
attron(A_STANDOUT);
mvprintw(12, 29 + strlen(hiscall), "");
-#ifdef HAVE_LIBHAMLIB
+#ifndef HAVE_LIBHAMLIB
if (trx_control == 1) {
freq =
bandfrequency[bandinx];
- [Tlf-devel] non-hamlib,
Jason Wright <=