added IC-821H

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@789 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
Stéphane Fillod, F8CFE 2001-12-20 23:07:15 +00:00
parent df474da607
commit fff33db945
3 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,5 @@
ICOMSRCLIST = ic706.c icr8500.c ic735.c ic775.c ic756.c icall.c ic275.c ic475.c ICOMSRCLIST = ic706.c icr8500.c ic735.c ic775.c ic756.c icall.c \
ic275.c ic475.c ic821h.c
lib_LTLIBRARIES = libhamlib-icom.la lib_LTLIBRARIES = libhamlib-icom.la
libhamlib_icom_la_SOURCES = $(ICOMSRCLIST) icom.c frame.c libhamlib_icom_la_SOURCES = $(ICOMSRCLIST) icom.c frame.c

View File

@ -2,7 +2,7 @@
* Hamlib CI-V backend - main file * Hamlib CI-V backend - main file
* Copyright (c) 2000,2001 by Stephane Fillod * Copyright (c) 2000,2001 by Stephane Fillod
* *
* $Id: icom.c,v 1.45 2001-12-19 03:35:27 fillods Exp $ * $Id: icom.c,v 1.46 2001-12-20 23:07:13 fillods Exp $
* *
* This library is free software; you can redistribute it and/or modify * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -439,6 +439,8 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
switch(vfo) { switch(vfo) {
case RIG_VFO_A: icvfo = S_VFOA; break; case RIG_VFO_A: icvfo = S_VFOA; break;
case RIG_VFO_B: icvfo = S_VFOB; break; case RIG_VFO_B: icvfo = S_VFOB; break;
case RIG_VFO_MAIN: icvfo = S_MAIN; break;
case RIG_VFO_SUB: icvfo = S_SUB; break;
case RIG_VFO_VFO: case RIG_VFO_VFO:
retval = icom_transaction (rig, C_SET_VFO, -1, NULL, 0, retval = icom_transaction (rig, C_SET_VFO, -1, NULL, 0,
ackbuf, &ack_len); ackbuf, &ack_len);
@ -2291,6 +2293,8 @@ int init_icom(void *be_handle)
rig_register(&ic756_caps); rig_register(&ic756_caps);
rig_register(&ic756pro_caps); rig_register(&ic756pro_caps);
rig_register(&ic821h_caps);
rig_register(&icr8500_caps); rig_register(&icr8500_caps);
rig_register(&ic275_caps); rig_register(&ic275_caps);

View File

@ -2,7 +2,7 @@
* Hamlib CI-V backend - main header * Hamlib CI-V backend - main header
* Copyright (c) 2000,2001 by Stephane Fillod * Copyright (c) 2000,2001 by Stephane Fillod
* *
* $Id: icom.h,v 1.34 2001-12-19 03:35:27 fillods Exp $ * $Id: icom.h,v 1.35 2001-12-20 23:07:14 fillods Exp $
* *
* This library is free software; you can redistribute it and/or modify * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -62,7 +62,6 @@ extern const struct ts_sc_list r7100_ts_sc_list[];
extern const struct ts_sc_list ic756_ts_sc_list[]; extern const struct ts_sc_list ic756_ts_sc_list[];
extern const struct ts_sc_list ic706_ts_sc_list[]; extern const struct ts_sc_list ic706_ts_sc_list[];
int icom_init(RIG *rig); int icom_init(RIG *rig);
int icom_cleanup(RIG *rig); int icom_cleanup(RIG *rig);
int icom_set_freq(RIG *rig, vfo_t vfo, freq_t freq); int icom_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
@ -114,6 +113,7 @@ extern const struct rig_caps ic735_caps;
extern const struct rig_caps ic756_caps; extern const struct rig_caps ic756_caps;
extern const struct rig_caps ic756pro_caps; extern const struct rig_caps ic756pro_caps;
extern const struct rig_caps ic775_caps; extern const struct rig_caps ic775_caps;
extern const struct rig_caps ic821h_caps;
extern const struct rig_caps icr8500_caps; extern const struct rig_caps icr8500_caps;
extern const struct rig_caps icall_caps; extern const struct rig_caps icall_caps;
extern const struct rig_caps ic275_caps; extern const struct rig_caps ic275_caps;