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.
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.
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.
code in the middle of the CW tx calculation. Everything worked
but it forced the tt550 to reset everytime you changed frequency
in CW mode.
2. Bug fixes in the set function code. I obviously missed testing
some of this.
3. Added IF-Shift support
4. Some minor buffer size changes, not really bugs, just cleanup.
5. Removed RIG_LEVEL_LINEOUT support from pegasus.c until after the
next release. Stephane, I know you #ifndef'd this but it's just as
easy to leave out of the LEVEL definition, and has no effect on the
#ifdef in tt550.c.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1689 7ae35d74-ebe9-4afe-98af-79ac388436b8