Wykres commitów

28 Commity (16692258a1adab993308620dcf42d67643a39c1c)

Autor SHA1 Wiadomość Data
Michael Black 6cee328283
Fix cppcheck warnings in ft757gx.c 2020-01-07 23:24:10 -06:00
Michael Black 7ee3a702f5
Replace all usleep with hl_usleep
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -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 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -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
Torsten Eberhardt 4f2b090b8a fixed get_vfo for FT-757GX(II) 2016-02-24 10:20:00 +01:00
Nate Bargmann 49e2233f9f Apply Linux C Style to ft757gx.c 2016-02-23 18:42:29 -06:00
Michael Black 99cbb5b1ad Allow the ft757gx to work with WSJT-X.
Adds a new config param "-C fakefreq=1"

The ft757gx only has one-way comm so this simply returns the last freq
set.

WSJT-X can operate in fake it split mode with this too.

RRR
Mike W9MDB
2016-02-23 18:24:07 -06:00
Michael Black 0a5b00c58d New backend for FT-991
Also, change from using malloc to calloc in Yaesu backend.
2015-04-13 21:02:41 -05:00
Nate Bargmann c39b51327b Revise test for MinGW with sleep()
Revise the preprocessor conditional test for MinGW variables.  Tested on
all of my MinGW installations.  The prior test was broken by MinGW 3.0
on Debian Unstable.
2013-09-19 21:59:42 -05:00
Nate Bargmann 1fd85febee MinGW build: Fix sleep() substitution
MinGW does not natively support the POSIX sleep() function so we have
had an override that was a part of the GR_PWIN32 macro and included in
the generated config.h file.  When compiling for Windows on POSIX using
MinGW, Autotools will detect sleep() and set HAVE_SLEEP which prevented
the substitution from being included in the source.  Adding a test for
_WIN32 (set by MinGW's gcc) then caused a warning from src/network.c on
POSIX about winsock2.h needing to be included before windows.h.  As
config.h needed to be included first, the solution to break out the
substitution that includes windows.h into its own file.  This patch
provides that solution and allows the code to compile cleanly on POSIX,
using MinGW on both POSIX and Windows, and on Cygwin.
2013-07-29 12:38:22 -05:00
Nate Bargmann be2fefcf18 Update version of modified backends
Per Stephane's request, updated the version string of backends modified
since 1.2.14 release.  Newly added backends were left alone.
2012-02-02 20:10:37 -06:00
Stephane Fillod 8b26904aa5 Quell cppcheck warnings 2012-01-29 23:37:59 +01:00
Nate Bargmann bff9f17f7e Update LGPL header in Yaesu source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:38 -05:00
Stéphane Fillod, F8CFE 2598021948 increase version number
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2658 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 15:21:52 +00:00
Stéphane Fillod, F8CFE fa13bd6c75 cosmetic
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2654 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 12:40:46 +00:00
Nate Bargmann, N0NB 229d4ca562 Patch from Stefano Merlo, IZ1IGK that avoids trying to read the status
bytes on the FT-757GX as it has a write only serial interface.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2533 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-28 02:38:54 +00:00
Stéphane Fillod, F8CFE eced3359b3 update status/version and fix warning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2397 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:35:01 +00:00
Stéphane Fillod, F8CFE 936954ddc2 SF#2106506: Implement retries to work around erratic timeouts.
Patch from Remi Chateauneu - f4ecw


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2380 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-12 12:54:29 +00:00
Nate Bargmann, N0NB b386aff486 Minor source cleanup of ft757gx.c
Change FT757GX_DEFAULT_READ_TIMEOUT to be FT757GX_STATUS_UPDATE_DATA_LENGTH * (5 + (FT757GX_PACING_INTERVAL * FT757GX_PACING_DEFAULT_VALUE))
by default.  Should allow 375 mS for read timeout at minimum in ft757gx.h


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2373 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-07-08 20:44:46 +00:00
Nate Bargmann, N0NB 9652472d43 Returned ptt_type in ft757gx2_caps to RIG_PTT_SERIAL_DTR and tested
DTR state follows PTT setting.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2371 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-07-08 16:29:06 +00:00
Nate Bargmann, N0NB 067368b821 Set PTT type to NONE
Corrected get_freq error off by a factor of 10--bug tracker # 2009215,
thanks to F4ECW and KC0MLS


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2370 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-07-08 15:02:37 +00:00
Nate Bargmann, N0NB 58984001d0 Fix get_mode and get_freq--had incorrect offsets and reported frequency
is in little endian order.
Fix set_mode as CW Narrow was always selected regardless of bandwidth.
Thanks Myron, KC0MLS.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2286 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-10 14:19:19 +00:00
Alexandru Csete OZ9AEC b7530aad94 - Cast unsigned char to char in order to avoid compiler warnings.
- Ensure that all variables have a value before they are used (ft920).
- Disable unused functions and variables (frg100).
- Incremented backend version numbers.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2120 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 15:51:38 +00:00
Stéphane Fillod, F8CFE 7386e39a7d guess at ptt_type, better validity check in get_level
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1796 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-10 21:03:56 +00:00
Stéphane Fillod, F8CFE 2181458976 added FT757GXII initial support and reworked the FT757GX common backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1784 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-08 19:15:31 +00:00
Stéphane Fillod, F8CFE 74964a1afb Initial FT757GX release, contribution from David L Norris
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1726 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-04-24 13:01:00 +00:00