kopia lustrzana https://github.com/Hamlib/Hamlib
added OptoScan535
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1003 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.3
rodzic
61428b3e97
commit
740980646e
|
@ -1,9 +1,9 @@
|
|||
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 \
|
||||
ic718.c
|
||||
ic718.c os535.c
|
||||
|
||||
lib_LTLIBRARIES = libhamlib-icom.la
|
||||
libhamlib_icom_la_SOURCES = $(ICOMSRCLIST) icom.c frame.c
|
||||
libhamlib_icom_la_SOURCES = $(ICOMSRCLIST) icom.c frame.c optoscan.c
|
||||
libhamlib_icom_la_LDFLAGS = -no-undefined -module -version-info 0:0:0
|
||||
libhamlib_icom_la_LIBADD = ../src/libhamlib.la
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Hamlib CI-V backend - main file
|
||||
* Copyright (c) 2000-2002 by Stephane Fillod
|
||||
*
|
||||
* $Id: icom.c,v 1.54 2002-03-05 23:31:31 fillods Exp $
|
||||
* $Id: icom.c,v 1.55 2002-03-06 21:10:56 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
|
||||
|
@ -255,6 +255,7 @@ static const struct icom_addr icom_addr_list[] = {
|
|||
{ RIG_MODEL_ICR9000, 0x2a },
|
||||
{ RIG_MODEL_MINISCOUT, 0x94 },
|
||||
{ RIG_MODEL_IC718, 0x5e },
|
||||
{ RIG_MODEL_OS535, 0x80 },
|
||||
{ RIG_MODEL_NONE, 0 },
|
||||
};
|
||||
|
||||
|
@ -2418,6 +2419,8 @@ int initrigs_icom(void *be_handle)
|
|||
|
||||
rig_register(&icall_caps);
|
||||
|
||||
rig_register(&os535_caps);
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
|
|
10
icom/icom.h
10
icom/icom.h
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Hamlib CI-V backend - main header
|
||||
* Copyright (c) 2000,2001,2002 by Stephane Fillod
|
||||
* Copyright (c) 2000-2002 by Stephane Fillod
|
||||
*
|
||||
* $Id: icom.h,v 1.41 2002-03-05 23:31:31 fillods Exp $
|
||||
* $Id: icom.h,v 1.42 2002-03-06 21:10:56 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
|
||||
|
@ -108,6 +108,10 @@ int icom_set_powerstat(RIG *rig, powerstat_t status);
|
|||
int icom_get_powerstat(RIG *rig, powerstat_t *status);
|
||||
int icom_decode_event(RIG *rig);
|
||||
|
||||
int optoscan_open(RIG *rig);
|
||||
int optoscan_close(RIG *rig);
|
||||
const char* optoscan_get_info(RIG *rig);
|
||||
|
||||
extern const struct confparams icom_cfg_params[];
|
||||
|
||||
extern const struct rig_caps ic706_caps;
|
||||
|
@ -127,6 +131,8 @@ extern const struct rig_caps icall_caps;
|
|||
extern const struct rig_caps ic275_caps;
|
||||
extern const struct rig_caps ic475_caps;
|
||||
|
||||
extern const struct rig_caps os535_caps;
|
||||
|
||||
extern BACKEND_EXPORT(rig_model_t) proberigs_icom(port_t *p);
|
||||
extern BACKEND_EXPORT(int) initrigs_icom(void *be_handle);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue