mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Diagnostic trace of HRD reported radio name
This commit is contained in:
parent
4a3551143f
commit
933ecb9421
@ -1023,6 +1023,7 @@ QString HRDTransceiver::send_command (QString const& cmd, bool no_debug, bool pr
|
|||||||
if (!recurse && prepend_context)
|
if (!recurse && prepend_context)
|
||||||
{
|
{
|
||||||
auto radio_name = send_command ("get radio", true, current_radio_, true);
|
auto radio_name = send_command ("get radio", true, current_radio_, true);
|
||||||
|
qDebug () << "HRDTransceiver::send_command: radio_name:" << radio_name;
|
||||||
auto radio_iter = std::find_if (radios_.begin (), radios_.end (), [this, &radio_name] (RadioMap::value_type const& radio)
|
auto radio_iter = std::find_if (radios_.begin (), radios_.end (), [this, &radio_name] (RadioMap::value_type const& radio)
|
||||||
{
|
{
|
||||||
return std::get<1> (radio) == radio_name;
|
return std::get<1> (radio) == radio_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user