Michael Black
9284676a3e
Fix compile warnings for MinGW on Debian Stretch
2019-11-30 18:28:15 -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
Michael Black W9MDB
0b1a58d308
Fixed indentation warnings detected by newer gcc
...
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Bill Somerville
5c947caf53
Fix a regression introduced in 222ad74
2016-04-20 15:03:05 +01: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
Paul Lutus
fb63c3b6f1
pcr.c, pcr1500.c: Add DSP support
...
"[This patch] allows PCR radios to use DSP units correctly for the first
time under Hamlib.
We're all familiar with a typical DSP presentation on a radio -- you can
turn it on and off, you can adjust the degree of noise processing, and
you can sometimes even enable a notch filter. In the PCR radios
that have a DSP installed, none of this worked until now.
I corrected the code in pcr.c, changes that apply to all the PCR radios,
and in pcr1500.c, the radio I have, but someone else will have to
edit the files for the radios I don't own so the user interface works
right. I decided it would be unwise to try to edit files for radios
I couldn't test.
I just re-read the above, and I need to add that the changes to prc.c
shouldn't adversely affect the PCR models other than the one I own."
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-15 20:42:20 -06:00
Nate Bargmann
dbf5396fcb
Remove set but unused variable errors in pcr.
2011-08-25 11:26:54 -05:00
Nate Bargmann
bba93abd2d
Update LGPL header in PCR source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:36 -05:00
Kamal Mostafa, KA6MAL
ad1cf04ea7
source warnings cleanup: #if-0 out a few unused routines
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3063 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 22:42:17 +00:00
Stéphane Fillod, F8CFE
cff15a0ade
- add PCR-2500
...
- sub receiver support for PCR-2500
- implement get_dcd, set/get_dcs_sql, set_ext_evel(DIVersity)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2948 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-07-31 23:22:48 +00: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
Alessandro Zummo, IZ1PRB
46de76084e
Bumped out to beta, solved a few bugs. Tested with PCR100/1000/1500.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2779 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-04 17:42:09 +00:00
Alessandro Zummo, IZ1PRB
7cb82e376a
Try to cope withe the PCR100 and PCR1000 at the same time
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2778 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-04 11:17:27 +00:00
Alessandro Zummo, IZ1PRB
94f2415048
Try to compensate for leftover characters
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2776 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-03 20:36:24 +00:00
Stéphane Fillod, F8CFE
842e769948
- implemented RIG_FUNC_AFC
...
- fixed some PCR1000 filter list, added set/get_powerstat
- wire up RIG_LEVEL_CWPITCH and RIG_FUNC_VSC
- moved some prototypes to pcr.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2717 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-08-04 15:21:14 +00:00
Stéphane Fillod, F8CFE
0fd0883095
PCR-1500 support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2714 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-08-02 16:15:59 +00:00
Stéphane Fillod, F8CFE
e9a87eda55
support ANL through ext_level
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2624 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 17:31:33 +00:00
Alessandro Zummo, IZ1PRB
acd43cecd2
Support get/set_powerstat on pcr100
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2603 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-29 19:50:33 +00:00
Stéphane Fillod, F8CFE
5e475e76c4
pcr patch from Alessandro Zummo, with more reliability and new features:
...
* CTCSS tone squelch
* selectable baud rate (300 - 38400)
* ANL - Automatic Noise Limiter (commented out, until created in frontend)
* simplified and cleaned up code
* RIG_LEVEL_STRENGTH
* RIG_LEVEL_RAWSTR
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2597 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-27 19:05:59 +00:00
Alexandru Csete OZ9AEC
b700d776f2
Use tone_t for pcr1_ctcss_list. Changed arg 4 of pcr_transaction to unsigned. Cast the other mismatches to (char *).
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2121 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 16:42:19 +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
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
1dc8cb7955
patch from Darren G0WCW
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1141 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-26 22:33:52 +00:00
Stéphane Fillod, F8CFE
a0cae89171
temporary fix: read_block instead of read_string to make initialization to work, added UK code info
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1036 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-26 08:05:51 +00:00
Stéphane Fillod, F8CFE
e6f23d2a11
protocol fix: PCR always send a short ack, whatever the response can be. So eat it.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1027 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:56:41 +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
cdb57dbaf4
bug fixes, added pcr_open and pcr_close
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1011 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-07 22:48:50 +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
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
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
8b0ac00d64
more win32 efforts
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@566 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-20 06:08:22 +00:00
Stéphane Fillod, F8CFE
c74995b05f
further win32 porting
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:08:37 +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
9d8b3d1c54
added PCR100 rig
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@508 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 17:52:55 +00:00
Stéphane Fillod, F8CFE
f3ef65626e
* fixed RIG_PASSBAND_OLDTIME
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@462 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-26 21:32:54 +00:00
Stéphane Fillod, F8CFE
cca6e2acab
* pbwidth_t is now the passband type in Hz, RIG_PASSBAND_NARROW and RIG_PASSBAND_WIDE are dead now. Backend maintenairs, please adapt your code\!
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@449 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 13:57:39 +00:00
Stéphane Fillod, F8CFE
c0d2cad491
* Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@423 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:30:45 +00:00