kopia lustrzana https://github.com/Hamlib/Hamlib
try better s-meter readings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2252 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.7
rodzic
5d0e7ec51d
commit
bc1e6f3959
|
@ -2,7 +2,7 @@
|
|||
* Hamlib Kenwood backend - TS870S description
|
||||
* Copyright (c) 2000-2005 by Stephane Fillod
|
||||
*
|
||||
* $Id: ts870s.c,v 1.47 2007-11-23 16:08:32 pa4tu Exp $
|
||||
* $Id: ts870s.c,v 1.48 2007-11-23 18:49:06 pa4tu 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
|
||||
|
@ -237,7 +237,7 @@ static int ts870s_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
|||
|
||||
/* Frontend expects: -54 = S0, 0 = S9 */
|
||||
sscanf(lvlbuf+2, "%d", &val->i);
|
||||
val->i = (val->i * 4) - 54;
|
||||
val->i = (val->i * 3.6) - 54;
|
||||
break;
|
||||
|
||||
case RIG_LEVEL_SWR:
|
||||
|
|
Ładowanie…
Reference in New Issue