Diagnostic trace of HRD reported radio name

This commit is contained in:
Bill Somerville 2019-11-24 14:08:21 +00:00
parent 4a3551143f
commit 933ecb9421
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -1023,6 +1023,7 @@ QString HRDTransceiver::send_command (QString const& cmd, bool no_debug, bool pr
if (!recurse && prepend_context)
{
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)
{
return std::get<1> (radio) == radio_name;