kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compilation warning from android/hamlib-compile
rodzic
126e27dc91
commit
db45d736d8
|
@ -470,7 +470,7 @@ int thd74_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
{
|
{
|
||||||
kmode = rmode2kenwood(mode, priv->mode_table);
|
kmode = rmode2kenwood(mode, priv->mode_table);
|
||||||
|
|
||||||
if (kmode == -1)
|
if (kmode < 0)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_WARN, "%s: Unsupported Mode value '%s'\n",
|
rig_debug(RIG_DEBUG_WARN, "%s: Unsupported Mode value '%s'\n",
|
||||||
__func__, rig_strrmode(mode));
|
__func__, rig_strrmode(mode));
|
||||||
|
|
Ładowanie…
Reference in New Issue