* added CTCSS table icom_ctcss_list, hopefully sharable among Icom's rig caps.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@411 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.1
Stéphane Fillod, F8CFE 2001-03-01 00:28:08 +00:00
rodzic d0d333994c
commit 8e660b3ad5
2 zmienionych plików z 19 dodań i 2 usunięć

Wyświetl plik

@ -6,7 +6,7 @@
* via serial interface to an ICOM using the "CI-V" interface.
*
*
* $Id: icom.c,v 1.17 2001-02-27 23:05:51 f4cfe Exp $
* $Id: icom.c,v 1.18 2001-03-01 00:28:08 f4cfe Exp $
*
*
*
@ -187,6 +187,20 @@ static const struct icom_addr icom_addr_list[] = {
{ -1, 0 },
};
/*
* 50 CTCSS sub-audible tones, from 67.0Hz to 254.1Hz
* Don't even think about changing a bit of this array, several
* rigs depend on it. If you need to, create a copy for your caps. --SF
*/
const int icom_ctcss_list[] = {
670, 693, 719, 744, 770, 797, 825, 854, 885, 915,
948, 974, 1000, 1035, 1072, 1109, 1148, 1188, 1230, 1273,
1318, 1365, 1413, 1462, 1514, 1567, 1598, 1622, 1655, 1679,
1713, 1738, 1773, 1799, 1835, 1862, 1899, 1928, 1966, 1995,
2035, 2065, 2107, 2181, 2257, 2291, 2336, 2418, 2503, 2541,
0,
};
/*
* This is a generic icom_init function.
* You might want to define yours, so you can customize it for your rig

Wyświetl plik

@ -6,7 +6,7 @@
* via serial interface to an ICOM using the "CI-V" interface.
*
*
* $Id: icom.h,v 1.12 2001-02-14 23:55:54 f4cfe Exp $
* $Id: icom.h,v 1.13 2001-03-01 00:28:08 f4cfe Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -52,6 +52,9 @@ struct icom_priv_data {
int str_cal_db[STR_CAL_LENGTH];
};
extern const int icom_ctcss_list[];
int icom_init(RIG *rig);
int icom_cleanup(RIG *rig);
int icom_set_freq(RIG *rig, vfo_t vfo, freq_t freq);