Wykres commitów

12 Commity (fd31b41d3b4d6420b4edda0aa1ac5781d9cdb0fa)

Autor SHA1 Wiadomość Data
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
Bill Somerville 4a74db654a Clarify the handling of Kenwood CAT message terminators
There was an inconsistency in  whether the CAT terminator character is
included  in  returned  messages.   It  now  follows  the  comment  in
kenwood_transaction()  i.e. strips  of  the terminator  and returns  a
message length that reflects that.
2015-02-13 18:07:10 +00:00
Nate Bargmann c3e9dfd93f Remove "$Id:" CVS tag as it is no longer used. 2011-08-22 21:38:38 -05:00
Nate Bargmann 8d16bebf40 Update LGPL header in Kenwood source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Alessandro Zummo, IZ1PRB e1c03296a4 Replace __FUNCTION__, which is gcc specific and was deprecated
a long time ago, with __func__, which is at least defined in C99.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2617 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 23:22:58 +00:00
Nate Bargmann, N0NB 30f66de479 Several Kenwood patches from Alessandro Zummo, azummo-lists@towertech.it
Among the changes:

 I finally had the time to build the CAT interface for my TS450 and
 discovered a couple of new commands.

 MX; MX0; MX1; is used to activate the AIP function
 FL; FLXXXYYY; is used to set the filters.

 I made a perl script to try every possible two-letters command. If
 amyone is interested, at their own risk, just ask.

 I've then modified and optimized the kenwood driver:

 - moved MD_ defined to .h
 - added init/cleanup
 - ts450_get_mode -> kenwood_get_mode_if
 - support reading memory channel freq within kenwood_get_freq
 - added kenwood_safe_transaction as an helper with result len check
 - added kenwood_get_if
 - added get_level for RIG_LEVEL_CWPITCH
 - set/get for RIG_FUNC_AIP
 - replaced ts140/680 get_mode and get_freq
 - removed the delay on the ts450. it works just fine without it.

=============================
 the attached patch requires the first one I sent and
 addresses a few remaining issues

 - converted 8 spaces to tabs
 - added kenwood_mode_table
 - added kenwood_simple_transaction helper func
 - use kenwood2rmode and rmode2kenwood where possible
 - some code cleanup
 - use kenwood_safe/simple_transaction where possible
 - added kenwood_get_mem_if (ts140,ts450,ts680,ts690,ts850)
 - added kenwood_get_channel (ts450,ts850)
 - added FUNC_FINE_STEP (commented out, we have no more func slots)
 - added LEVEL_CWPITCH (set)
 - no reason to have ts850_set_func, ts850_set_level
 - ... ts480_get/set_ant, ts480_set_func
 - ... ts570_set/get_ant, ts570_get_channel, ts570_get_rit
 - ... ts680_set_func
 - ... ts790_get_mode, ts790_get_vfo

 this patch is a bit more extensive and tested only on the TS450.
 feedback will be appreciated.

 where I removed code I took care to verify that the generic
 code in kenwood.c worked in the same way.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2591 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-23 03:24:42 +00:00
Stéphane Fillod, F8CFE 851d87d328 long long portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2291 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-13 20:59:15 +00:00
Dale E. Edmons, KD7ENI 7212a11aa8 Added working TS-2000 files. There are some changes left out but this
is the minimum I could commit and have a functional rig.  The cost is
that I've broken kylix and others that duplicate rig.h.  I'm in the
process of repairing the damage.  Please be patient.  I hope a day or so,
but am asking for up to a week.  E-mail me about *anything* you find
broken.  Kylix (and similar) is (are) known to not work.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1083 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-30 10:17:03 +00:00
Dale E. Edmons, KD7ENI fdbce1c69e Temp kludge to make ts2k.c compile (keeps Hamlib from compiling!).
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1081 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-29 09:54:50 +00:00
Dale E. Edmons, KD7ENI 1f3b895d2f Bring code more in line with CVS code.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1076 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-29 08:42:29 +00:00
Dale E. Edmons, KD7ENI f59bbf24dd Bring ts2k.c more in line with current CVS.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1071 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-29 08:18:43 +00:00
Dale E. Edmons, KD7ENI feacabbf83 Started TS-2000 update/overhaul --Dale
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1069 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-27 08:55:56 +00:00