Merge branch 'kenwood-ai-off-at-start'

of git://git.code.sf.net/u/bsomervi/hamlib
Hamlib-3.0
Nate Bargmann 2014-11-26 20:03:04 -06:00
commit 3cde4f4c2d
2 zmienionych plików z 14 dodań i 2 usunięć

Wyświetl plik

@ -152,6 +152,11 @@ int elecraft_open(RIG *rig)
return -RIG_EINVAL;
}
/* Currently we cannot cope with AI mode so turn it off in case last
client left it on */
kenwood_set_trn(rig, RIG_TRN_OFF); /* ignore status in case it's not
supported */
return RIG_OK;
}

Wyświetl plik

@ -432,7 +432,7 @@ int kenwood_init(RIG *rig)
rig_debug(RIG_DEBUG_TRACE, "%s: if_len = %d\n", __func__, caps->if_len);
return RIG_OK;
return RIG_OK;
}
int kenwood_cleanup(RIG *rig)
@ -519,7 +519,14 @@ int kenwood_open(RIG *rig)
__func__, kenwood_id_string_list[i].id);
if (kenwood_id_string_list[i].model == rig->caps->rig_model)
return RIG_OK;
{
/* Currently we cannot cope with AI mode so turn it off in
case last client left it on */
kenwood_set_trn(rig, RIG_TRN_OFF); /* ignore status in case
it's not supported */
return RIG_OK;
}
/* driver mismatch */
rig_debug(RIG_DEBUG_ERR,