From 789e684236e2b6cbb0438ec936b439ae85157e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Mon, 4 Nov 2002 22:26:49 +0000 Subject: [PATCH] remove icall, added mem_cap initializer git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1245 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- icom/icom.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/icom/icom.h b/icom/icom.h index 31a8aa8f7..c87775b13 100644 --- a/icom/icom.h +++ b/icom/icom.h @@ -2,7 +2,7 @@ * Hamlib CI-V backend - main header * Copyright (c) 2000-2002 by Stephane Fillod * - * $Id: icom.h,v 1.47 2002-08-19 22:17:11 fillods Exp $ + * $Id: icom.h,v 1.48 2002-11-04 22:26:49 fillods 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 @@ -36,6 +36,23 @@ #define STR_CAL_S0 -54 +/* + * common channel caps. + * If your rig has better/lesser, don't modify this define but clone it, + * so you don't change other rigs. + */ +#define IC_MEM_CAP { \ + .freq = 1, \ + .mode = 1, \ + .width = 1, \ + .rptr_shift = 1, \ + .rptr_offs = 1, \ + .ctcss_tone = 1, \ + .ctcss_sql = 1, \ + .dcs_code = 1, \ + .dcs_sql = 1, \ +} + struct ts_sc_list { shortfreq_t ts; /* tuning step */ unsigned char sc; /* sub command */ @@ -129,7 +146,6 @@ extern const struct rig_caps ic910_caps; extern const struct rig_caps ic970_caps; extern const struct rig_caps icr7000_caps; extern const struct rig_caps icr8500_caps; -extern const struct rig_caps icall_caps; extern const struct rig_caps ic275_caps; extern const struct rig_caps ic475_caps;