From 0049d2acd747b4fb57b85f1c0d683cb04146fc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 16 Sep 2008 18:11:26 +0000 Subject: [PATCH] S-Meter calibration table from Tony G0WFV git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2387 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- yaesu/ft100.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/yaesu/ft100.c b/yaesu/ft100.c index 6695b81cb..29bde6fc6 100644 --- a/yaesu/ft100.c +++ b/yaesu/ft100.c @@ -8,7 +8,7 @@ * The starting point for this code was Frank's ft847 implementation. * * - * $Id: ft100.c,v 1.22 2008-09-15 22:15:50 fillods Exp $ + * $Id: ft100.c,v 1.23 2008-09-16 18:11:26 fillods Exp $ * * * This library is free software; you can redistribute it and/or @@ -134,11 +134,18 @@ static const yaesu_cmd_set_t ncmd[] = { #define FT100_VFO_ALL (RIG_VFO_A|RIG_VFO_B) -/* TODO: S-meter calibration */ -#define FT100_STR_CAL { 2, \ +/* S-meter calibration, ascending order of RAW values */ +#define FT100_STR_CAL { 9, \ { \ - { 0, -54 }, /* S0 */ \ - { 255, 60 } /* +60 */ \ + { 90, 60 }, /* +60 */ \ + { 105, 40 }, /* +40 */ \ + { 115, 20 }, /* +20 */ \ + { 120, 0 }, /* S9 */ \ + { 130, -6 }, /* S8 */ \ + { 140, -12 }, /* S7 */ \ + { 160, -18 }, /* S6 */ \ + { 180, -24 }, /* S5 */ \ + { 200, -54 } /* S0 */ \ } } const struct rig_caps ft100_caps = {