Michael Black
3b581bdc6b
Fix cppcheck warnings for alinco
2019-12-06 14:59:42 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Nate Bargmann
62309abd49
Formatted alinco/ to final coding guidelines
2017-10-08 06:20:45 -05:00
Bill Somerville
222ad74de7
Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
...
This change allows the set_mode functions to leave the rig passband
unchanged if required. For the few rigs that do not have explcit
passband width control either current state is read and rewritten or a
"normal" width is chosen e.g. select a normal width when there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Michael McConville
875d0fcdfb
Fix erroneous boolean logic
...
It seems like || was used where && was intended here. Currently, the
conditions are always true, and there's no reason for them to be written
this way.
Found with Coccinelle.
2016-04-14 12:47:46 -04:00
Nate Bargmann
2d8deab072
Update LGPL header in Alinco source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Stéphane Fillod, F8CFE
1404b754fe
portability of long long
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 19:04:00 +00:00
Alexandru Csete OZ9AEC
471c50351b
Cast unsigned char to char in order to avoid compiler warnings. Incremented backend version number.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2122 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 16:55:04 +00:00
Stéphane Fillod, F8CFE
74c6d2ba61
fix proprer read_string() return code error handling
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2003 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 21:47:14 +00:00
Stéphane Fillod, F8CFE
cccf1318ce
second pass at getting rid of "ll" immediate literal format (64bit int)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1904 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-25 00:22:14 +00:00
Stéphane Fillod, F8CFE
23369a0c25
* abstract 64bit int format type to cope with portability issues.
...
introduce PRIll (printf format) and SCNll (scanf) in misc.h.
This needs to have config.h included beforehand.
* do likewise with freq_t type (double) in rig.h
FREQFMT is deprecated.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-24 23:04:35 +00:00
Stéphane Fillod, F8CFE
fe10198f27
remove deprecated RIG_LEVEL_SQLSTAT and fix get_dcd, fix str_cal in icom backend
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1853 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-26 08:35:05 +00:00
Ben Coleman, NJ8J
b4bea8e616
Handle setting Keyer speed and CW Pitch
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1769 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-07-07 00:27:52 +00:00
Ben Coleman, NJ8J
c2aea00644
Added checking of return string from rig on set (non-retrieval) commands.
...
Added code for COMP function.
Added alinco_set_parm & tweaked dx77 capabilities.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1704 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-03-15 04:02:08 +00:00
Stéphane Fillod, F8CFE
06df356369
patch from Ben NJ8J
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1688 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-15 00:30:29 +00:00
Stéphane Fillod, F8CFE
efabee7d6c
echo fix
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1632 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-22 07:39:46 +00:00
Stéphane Fillod, F8CFE
6985ec78ca
converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR. RIG_LEVEL_STRENGTH is then derived from calibration table
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:14:44 +00:00
Stéphane Fillod, F8CFE
91df9591f4
Prepare eventual move from freq_t as a "long long" to a "double" type.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-20 22:15:02 +00:00
Stéphane Fillod, F8CFE
84ad9b827b
include fixup, stdio.h is not included by rig.h anymore
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00:00
Stéphane Fillod, F8CFE
960c83c4c5
* added ABI VERSION to backend entry point symbol name
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1442 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:30:43 +00:00
Stéphane Fillod, F8CFE
e0b2a7b4ac
fix headers
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +00:00
Stéphane Fillod, F8CFE
a07a4a336e
Adopt new split_vfo handling. Basically, rename set_split/get_split
...
to set_split_vfo/get_split_vfo, and take an extra transmit vfo arg.
Ascending compatibility is retained at the API frontend level.
NOTE: only function name has changed. The backends do not implement
necessarily the new semantic (the extra tx vfo is just ignored).
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:40:36 +00:00
Stéphane Fillod, F8CFE
ad7310335b
replaced fread_block in favor of the more intelligent read_string, added some serial_flush
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:37:13 +00:00
Stéphane Fillod, F8CFE
303861e483
warning: backend module breakage: symbol changed: init_ -> initrigs_
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@821 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:28:04 +00:00
Stéphane Fillod, F8CFE
99915b6c57
misc sscanf format fix
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@786 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 22:59:09 +00:00
Stéphane Fillod, F8CFE
83377f40ad
tones fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:35:27 +00:00
Stéphane Fillod, F8CFE
95c6c458dc
static/dynamic build fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@745 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:14:47 +00:00
Stéphane Fillod, F8CFE
197d62af6b
do not export ctcss and dcs data lists if dll does not support it (eg. win32), and then, workaround this
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@682 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 19:19:46 +00:00
Stéphane Fillod, F8CFE
3dafac3b12
header fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@589 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-14 16:48:03 +00:00
Stéphane Fillod, F8CFE
1f01081335
converted to LGPL
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE
c9dc785aaa
renamed xet_ctcss to xet_ctcss_tone and xet_dcs to xet_dcs_code to make it less ambiguous in regards to the squelch functions
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@576 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-01 11:46:17 +00:00
Stéphane Fillod, F8CFE
16b77c5b31
simplified xet_split_freq/xet_split_mode, now handles only tx freq/mode
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@568 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-27 17:32:47 +00:00
Stéphane Fillod, F8CFE
bb4c5fa6fa
better error handling
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@543 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-12 07:07:11 +00:00
Stéphane Fillod, F8CFE
da19dd9a47
new port_t design
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE
2a98be2010
Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@519 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-03 17:39:59 +00:00