From 5014af530c47d31cf1a56886d241690721ab7e30 Mon Sep 17 00:00:00 2001 From: Francois Retief Date: Mon, 7 Jan 2002 17:43:21 +0000 Subject: [PATCH] added private caps for rig termination character git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@849 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kenwood/thf7.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kenwood/thf7.c b/kenwood/thf7.c index 2e0a84d12..b1157e3f0 100644 --- a/kenwood/thf7.c +++ b/kenwood/thf7.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TH-F7 description * Copyright (c) 2001 by Stephane Fillod * - * $Id: thf7.c,v 1.2 2001-12-16 11:17:42 fillods Exp $ + * $Id: thf7.c,v 1.3 2002-01-07 17:43:21 fgretief Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -38,7 +38,6 @@ #include "kenwood.h" #include "th.h" - #define THF7_MODES_TX (RIG_MODE_FM|RIG_MODE_AM) #define THF7_MODES (THF7_MODES_TX|RIG_MODE_WFM|RIG_MODE_SSB|RIG_MODE_CW) @@ -53,6 +52,10 @@ */ #define THF7_VFO (RIG_VFO_A|RIG_VFO_C) +const struct kenwood_priv_caps thf7_priv_caps = { + cmdtrm: "\r", /* Command termination character */ +}; + /* * th-f7e rig capabilities. */ @@ -133,7 +136,11 @@ filters: { {RIG_MODE_AM|RIG_MODE_FM, kHz(12)}, RIG_FLT_END, }, -priv: NULL, +priv: (void *)&thf7_priv_caps, +rig_init: kenwood_init, +rig_cleanup: kenwood_cleanup, +rig_open: NULL, +rig_close: NULL, set_freq: th_set_freq, get_freq: th_get_freq,