mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
xmlrpc get_trx_state
* change to same logic used in get_trx_status
This commit is contained in:
parent
517f6fd149
commit
8d95ca4a05
1 changed files with 4 additions and 7 deletions
|
|
@ -1688,13 +1688,10 @@ public:
|
|||
}
|
||||
void execute(const xmlrpc_c::paramList& params, xmlrpc_c::value* retval)
|
||||
{
|
||||
std::string st;
|
||||
if (btnTune->value())
|
||||
st = "tune";
|
||||
else if (wf->xmtrcv->value())
|
||||
st = "tx";
|
||||
else
|
||||
st = "rx";
|
||||
std::string st = "rx";
|
||||
if (trx_state == STATE_TX) st = "tx";
|
||||
else if (trx_state == STATE_TUNE) st = "tune";
|
||||
|
||||
LOG_INFO("[%s] main.get_trx_status: %s",
|
||||
XmlRpc::client_id.c_str(),
|
||||
st.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue