added PCR100 rig

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@508 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.2
Stéphane Fillod, F8CFE 2001-06-02 17:52:55 +00:00
rodzic 173aed3e0c
commit 9d8b3d1c54
3 zmienionych plików z 10 dodań i 8 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
lib_LTLIBRARIES = libhamlib-pcr.la
libhamlib_pcr_la_SOURCES = pcr.c pcr1000.c
libhamlib_pcr_la_SOURCES = pcr.c pcr1000.c pcr100.c
libhamlib_pcr_la_LDFLAGS = -avoid-version # -module
lib_LIBRARIES = libhamlib-pcr.a
libhamlib_pcr_a_SOURCES = pcr.c pcr1000.c
libhamlib_pcr_a_SOURCES = pcr.c pcr1000.c pcr100.c
noinst_HEADERS = pcr.h

Wyświetl plik

@ -6,7 +6,7 @@
* via serial interface to an Icom PCR-1xxx radio.
*
*
* $Id: pcr.c,v 1.3 2001-04-26 21:32:32 f4cfe Exp $
* $Id: pcr.c,v 1.4 2001-06-02 17:52:55 f4cfe Exp $
*
*
*
@ -310,7 +310,7 @@ int pcr_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
* pcr_get_info
* Assumes rig!=NULL
*/
unsigned char *pcr_get_info(RIG *rig)
const char *pcr_get_info(RIG *rig)
{
struct pcr_priv_data *priv;
unsigned char ackbuf[16];
@ -401,6 +401,7 @@ int init_pcr(void *be_handle)
{
rig_debug(RIG_DEBUG_VERBOSE, "pcr: _init called\n");
rig_register(&pcr100_caps);
rig_register(&pcr1000_caps);
return RIG_OK;

Wyświetl plik

@ -3,10 +3,10 @@
*
* pcr.h - Copyright (C) 2001 Stephane Fillod
* This shared library provides an API for communicating
* via serial interface to an ICOM using the "CI-V" interface.
* via serial interface to an ICOM using the PCR1000 protocol.
*
*
* $Id: pcr.h,v 1.1 2001-03-02 18:26:18 f4cfe Exp $
* $Id: pcr.h,v 1.2 2001-06-02 17:52:55 f4cfe Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -44,12 +44,13 @@ int pcr_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
int pcr_get_freq(RIG *rig, vfo_t vfo, freq_t *freq);
int pcr_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
int pcr_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width);
unsigned char *pcr_get_info(RIG *rig);
const char *pcr_get_info(RIG *rig);
extern const struct rig_caps pcr1000_caps;
extern const struct rig_caps pcr100_caps;
extern int init_icom(void *be_handle);
extern int init_pcr(void *be_handle);
#endif /* _PCR_H */