diff --git a/src/settings.c b/src/settings.c index 96216a888..5298cd063 100644 --- a/src/settings.c +++ b/src/settings.c @@ -16,7 +16,7 @@ * Hamlib Interface - func/level/parm * Copyright (c) 2000-2008 by Stephane Fillod * - * $Id: settings.c,v 1.11 2008-05-04 14:11:43 fillods Exp $ + * $Id: settings.c,v 1.12 2008-09-15 22:03:42 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 @@ -146,9 +146,8 @@ int HAMLIB_API rig_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) * Special case(frontend emulation): calibrated S-meter reading */ if (level == RIG_LEVEL_STRENGTH && - (caps->has_get_level & RIG_LEVEL_STRENGTH) && + (caps->has_get_level & RIG_LEVEL_STRENGTH) == 0 && rig_has_get_level(rig,RIG_LEVEL_RAWSTR)) { - value_t rawstr; retcode = rig_get_level(rig, vfo, RIG_LEVEL_RAWSTR, &rawstr);