kopia lustrzana https://github.com/Hamlib/Hamlib
misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1638 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
0b8e1f63d4
commit
cfacf0226e
|
@ -2,7 +2,7 @@
|
||||||
* Hamlib Kenwood backend - TH handheld primitives
|
* Hamlib Kenwood backend - TH handheld primitives
|
||||||
* Copyright (c) 2001-2003 by Stephane Fillod
|
* Copyright (c) 2001-2003 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: th.c,v 1.16 2003-12-02 22:45:43 f4dwv Exp $
|
* $Id: th.c,v 1.17 2004-01-15 22:03:18 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -662,9 +662,8 @@ int th_set_level (RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||||
|
|
||||||
sprintf(lvlbuf, "PC 0,%d" EOM, 3-(int)(val.f*3.0)); /* only VHF power ... */
|
sprintf(lvlbuf, "PC 0,%d" EOM, 3-(int)(val.f*3.0)); /* only VHF power ... */
|
||||||
retval = kenwood_transaction (rig, lvlbuf, strlen(lvlbuf), ackbuf, &ack_len);
|
retval = kenwood_transaction (rig, lvlbuf, strlen(lvlbuf), ackbuf, &ack_len);
|
||||||
if (retval != RIG_OK)
|
|
||||||
return retval;
|
|
||||||
|
|
||||||
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef RIG_TONEMAX
|
#ifndef RIG_TONEMAX
|
||||||
|
|
Ładowanie…
Reference in New Issue