Michael Black
5e2f45f987
Fix cppcheck warnings in tentec2.c
2019-12-08 23:05:59 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
72087f1b10
Change all __FUNCTION__ to __func__
2019-11-30 10:16:28 -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
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
Bill Somerville
ecc31cb1b4
Fix error with width in set mode for the TT argonaut
...
Also constrain Argonaut filter selections to valid values.
2015-03-15 16:30:28 +00:00
Bill Somerville
f04793c833
Implement get PTT status for the TenTec Argonaut
...
Changed Argonaut mode set command to leave the width unchanged when
passed RIG_PASSBAND_NORMAL.
Also tidied up response validity checks.
2015-03-15 11:41:16 +00:00
Bill Somerville
f82493b957
Fix TenTec set split command
2015-03-15 01:23:40 +00:00
Bill Somerville
9713e60b42
Fix TenTec Argonaut message lengths and timeout
...
The TT Argonaut back end was falling over if the rate of returned data
varied because some commands were coded to have shorter than actual
responses, this is not necessary as by increasing the timeout all
characters can be read as expected.
Also fix direct reading and setting of mode per VFO.
2015-03-15 00:16:44 +00:00
Nate Bargmann
02a90bf2cf
Update LGPL header in TenTec source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Alexandru Csete OZ9AEC
eba1db1658
- Cast unsigned char to char in order to avoid compiler warnings.
...
- Ensure that all variables have a value before they are used (tentec.c).
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2123 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 17:38:05 +00:00
Nate Bargmann, N0NB
359e5fdfad
20060922:
...
Update:
Applied tentec2.c from Dave Freese, W1HKJ
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2115 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-22 18:27:18 +00:00
Stéphane Fillod, F8CFE
66360b4f14
Prefixed misc str* and parse_* calls with rig_ to export them in rig.h
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1738 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-17 21:09:45 +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
c7f8436bdf
added initial support for Argonaut V
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1472 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-05-12 22:29:59 +00:00