Fix RIG_LEVEL_STRENGTH break in flrig.c

pull/494/head
Michael Black W9MDB 2020-12-31 07:43:13 -06:00
rodzic 2b448d2815
commit 77bd4e2322
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1969,6 +1969,7 @@ static int flrig_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
case RIG_LEVEL_STRENGTH:
val->i = atoi(value);
rig_debug(RIG_DEBUG_TRACE, "%s: val.i='%s'(%d)\n", __func__, value, val->i);
break;
case RIG_LEVEL_RFPOWER_METER:
val->f = atof(value) / 100.0 * priv->powermeter_scale;

Wyświetl plik

@ -28,7 +28,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20201227"
#define BACKEND_VER "20201231"
#define EOM "\r"
#define TRUE 1