diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-02 14:59:47 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:58 -0800 |
commit | 11401e2564bd50bdd76c84d9baedbb797ecf3f61 (patch) | |
tree | 00cd5ef509a5b0a111736630f440a46690550584 /host/lib/usrp/dboard | |
parent | 18098228932f3e25e3ac1750599c5e531657f161 (diff) | |
download | uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.tar.gz uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.tar.bz2 uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.zip |
rpc: Changed API to request/notify for better distinction between the two
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r-- | host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp index d948a89c0..1be41dd84 100644 --- a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp @@ -398,7 +398,7 @@ void eiscat_radio_ctrl_impl::set_rpc_client( _rpcc = rpcc; std::function<void()> send_sysref; if (block_args.has_key("use_mpm_sysref")) { - send_sysref = [rpcc](){ rpcc->call<void>("db_0_send_sysref"); }; + send_sysref = [rpcc](){ rpcc->notify("db_0_send_sysref"); }; } else { send_sysref = [this](){ this->sr_write("SR_SYSREF", 1); }; } @@ -408,12 +408,12 @@ void eiscat_radio_ctrl_impl::set_rpc_client( "Finalizing dboard initialization using internal PPS" ); send_sysref(); - rpcc->call_with_token<void>("db_0_init_adcs_and_deframers"); - rpcc->call_with_token<void>("db_1_init_adcs_and_deframers"); + rpcc->notify_with_token("db_0_init_adcs_and_deframers"); + rpcc->notify_with_token("db_1_init_adcs_and_deframers"); send_sysref(); std::this_thread::sleep_for(std::chrono::milliseconds(500)); - rpcc->call_with_token<void>("db_0_check_deframer_status"); - rpcc->call_with_token<void>("db_1_check_deframer_status"); + rpcc->notify_with_token("db_0_check_deframer_status"); + rpcc->notify_with_token("db_1_check_deframer_status"); } /**************************************************************************** |