kopia lustrzana https://github.com/Hamlib/Hamlib
mispelling fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@490 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.1
rodzic
6e73c47999
commit
5fd766993f
|
@ -6,7 +6,7 @@
|
|||
* via serial interface to a Kenwood radio.
|
||||
*
|
||||
*
|
||||
* $Id: kenwood.c,v 1.5 2001-05-15 22:05:26 f4cfe Exp $
|
||||
* $Id: kenwood.c,v 1.6 2001-05-22 21:59:26 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
*
|
||||
|
@ -490,7 +490,7 @@ int kenwood_set_ctcss(RIG *rig, vfo_t vfo, unsigned int tone)
|
|||
|
||||
caps = rig->caps;
|
||||
|
||||
/* TODO: replace 200 by something like RIGTONEMAX, fix also icom backend */
|
||||
/* TODO: replace 200 by something like RIGTONEMAX */
|
||||
for (i = 0; caps->ctcss_list[i] != 0 && i<200; i++) {
|
||||
if (caps->ctcss_list[i] == tone)
|
||||
break;
|
||||
|
@ -555,7 +555,7 @@ int kenwood_get_ctcss(RIG *rig, vfo_t vfo, unsigned int *tone)
|
|||
* Assumes rig!=NULL
|
||||
* TODO: kenwood_get_ptt reading P8 field returned by IF;
|
||||
*/
|
||||
int icom_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||
int kenwood_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||
{
|
||||
unsigned char ackbuf[16];
|
||||
int ack_len;
|
||||
|
@ -571,7 +571,7 @@ int icom_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||
* kenwood_get_dcd
|
||||
* Assumes rig!=NULL, dcd!=NULL
|
||||
*/
|
||||
int icom_get_dcd(RIG *rig, vfo_t vfo, dcd_t *dcd)
|
||||
int kenwood_get_dcd(RIG *rig, vfo_t vfo, dcd_t *dcd)
|
||||
{
|
||||
unsigned char busybuf[16];
|
||||
int busy_len;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* via serial interface to a Kenwood radio.
|
||||
*
|
||||
*
|
||||
* $Id: kenwood.h,v 1.3 2001-05-15 22:05:26 f4cfe Exp $
|
||||
* $Id: kenwood.h,v 1.4 2001-05-22 21:59:26 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -43,6 +43,8 @@ int kenwood_set_powerstat(RIG *rig, powerstat_t status);
|
|||
int kenwood_get_powerstat(RIG *rig, powerstat_t *status);
|
||||
int kenwood_reset(RIG *rig, reset_t reset);
|
||||
int kenwood_send_morse(RIG *rig, vfo_t vfo, const char *msg);
|
||||
int kenwood_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt);
|
||||
int kenwood_get_dcd(RIG *rig, vfo_t vfo, dcd_t *dcd);
|
||||
|
||||
int kenwood_set_trn(RIG *rig, vfo_t vfo, int trn);
|
||||
int kenwood_get_trn(RIG *rig, vfo_t vfo, int *trn);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* using the serial interface.
|
||||
*
|
||||
*
|
||||
* $Id: ts870s.c,v 1.13 2001-05-15 22:05:26 f4cfe Exp $
|
||||
* $Id: ts870s.c,v 1.14 2001-05-22 21:59:26 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
*
|
||||
|
@ -66,7 +66,7 @@ mfg_name: "Kenwood",
|
|||
version: "0.1",
|
||||
copyright: "GPL",
|
||||
status: RIG_STATUS_UNTESTED,
|
||||
rig_type: RIG_TYPE_RECEIVER,
|
||||
rig_type: RIG_TYPE_TRANSCEIVER,
|
||||
ptt_type: RIG_PTT_RIG,
|
||||
dcd_type: RIG_DCD_RIG,
|
||||
port_type: RIG_PORT_SERIAL,
|
||||
|
@ -165,6 +165,8 @@ set_vfo: kenwood_set_vfo,
|
|||
get_vfo: kenwood_get_vfo,
|
||||
set_ctcss: kenwood_set_ctcss,
|
||||
get_ctcss: kenwood_get_ctcss,
|
||||
set_ptt: kenwood_set_ptt,
|
||||
get_dcd: kenwood_get_dcd,
|
||||
get_level: kenwood_get_level,
|
||||
set_powerstat: kenwood_set_powerstat,
|
||||
get_powerstat: kenwood_get_powerstat,
|
||||
|
|
Ładowanie…
Reference in New Issue