added FUNC_FAGC, by Rob Frohne KL7NA

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1922 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.4
Stéphane Fillod, F8CFE 2005-02-13 00:22:00 +00:00
rodzic ddb196d3d9
commit c3ed068705
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - main file
* Copyright (c) 2000-2005 by Stephane Fillod and others
*
* $Id: kenwood.c,v 1.85 2005-02-02 20:04:58 pa4tu Exp $
* $Id: kenwood.c,v 1.86 2005-02-13 00:22:00 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -800,6 +800,10 @@ int kenwood_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
fct_len = sprintf(fctbuf,"VX%c;", (0==status)?'0':'1');
return kenwood_transaction (rig, fctbuf, fct_len, ackbuf, &ack_len);
case RIG_FUNC_FAGC:
fct_len = sprintf(fctbuf,"GT00%c;", (0==status)? '4':'2');
return kenwood_transaction (rig, fctbuf, fct_len, ackbuf, &ack_len);
case RIG_FUNC_NR:
fct_len = sprintf(fctbuf,"NR%c;", (0==status)?'0':'1');
return kenwood_transaction (rig, fctbuf, fct_len, ackbuf, &ack_len);