From 3673ad0a077464dfab50ea4d3b3d8a874231b3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 5 Mar 2002 23:31:31 +0000 Subject: [PATCH] added IC-718, patch from Chuck Gilkes WD0FCL/4 git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@999 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- icom/Makefile.am | 3 ++- icom/icom.c | 14 ++++++++++++-- icom/icom.h | 4 +++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/icom/Makefile.am b/icom/Makefile.am index 7579c6c6e..5e4d3ad7e 100644 --- a/icom/Makefile.am +++ b/icom/Makefile.am @@ -1,5 +1,6 @@ ICOMSRCLIST = ic706.c icr8500.c ic735.c ic775.c ic756.c icall.c \ - ic275.c ic475.c ic821h.c icr7000.c ic910.c ic970.c + ic275.c ic475.c ic821h.c icr7000.c ic910.c ic970.c \ + ic718.c lib_LTLIBRARIES = libhamlib-icom.la libhamlib_icom_la_SOURCES = $(ICOMSRCLIST) icom.c frame.c diff --git a/icom/icom.c b/icom/icom.c index 0ba95aa8b..07744f397 100644 --- a/icom/icom.c +++ b/icom/icom.c @@ -1,8 +1,8 @@ /* * Hamlib CI-V backend - main file - * Copyright (c) 2000,2001,2002 by Stephane Fillod + * Copyright (c) 2000-2002 by Stephane Fillod * - * $Id: icom.c,v 1.53 2002-03-05 00:41:04 fillods Exp $ + * $Id: icom.c,v 1.54 2002-03-05 23:31:31 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 @@ -119,6 +119,15 @@ const struct ts_sc_list r9000_ts_sc_list[] = { { 0, 0 }, }; +const struct ts_sc_list ic718_ts_sc_list[] = { + { 10, 0x00 }, + { kHz(1), 0x01 }, + { kHz(5), 0x01 }, + { kHz(9), 0x01 }, + { kHz(10), 0x04 }, + { kHz(100), 0x05 }, + { 0, 0 }, +}; const struct ts_sc_list ic756_ts_sc_list[] = { { 10, 0x00 }, @@ -2391,6 +2400,7 @@ int initrigs_icom(void *be_handle) rig_register(&ic706_caps); rig_register(&ic706mkii_caps); rig_register(&ic706mkiig_caps); + rig_register(&ic718_caps); rig_register(&ic735_caps); rig_register(&ic775_caps); rig_register(&ic756_caps); diff --git a/icom/icom.h b/icom/icom.h index de5da8b68..d9e3cdaea 100644 --- a/icom/icom.h +++ b/icom/icom.h @@ -2,7 +2,7 @@ * Hamlib CI-V backend - main header * Copyright (c) 2000,2001,2002 by Stephane Fillod * - * $Id: icom.h,v 1.40 2002-03-04 20:23:21 fillods Exp $ + * $Id: icom.h,v 1.41 2002-03-05 23:31:31 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 @@ -64,6 +64,7 @@ extern const struct ts_sc_list ic756_ts_sc_list[]; extern const struct ts_sc_list ic756pro_ts_sc_list[]; extern const struct ts_sc_list ic706_ts_sc_list[]; extern const struct ts_sc_list ic910_ts_sc_list[]; +extern const struct ts_sc_list ic718_ts_sc_list[]; int icom_init(RIG *rig); int icom_cleanup(RIG *rig); @@ -112,6 +113,7 @@ extern const struct confparams icom_cfg_params[]; extern const struct rig_caps ic706_caps; extern const struct rig_caps ic706mkii_caps; extern const struct rig_caps ic706mkiig_caps; +extern const struct rig_caps ic718_caps; extern const struct rig_caps ic735_caps; extern const struct rig_caps ic756_caps; extern const struct rig_caps ic756pro_caps;