From 11401e2564bd50bdd76c84d9baedbb797ecf3f61 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 2 Jun 2017 14:59:47 -0700 Subject: rpc: Changed API to request/notify for better distinction between the two --- host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host/lib/usrp/dboard') 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 send_sysref; if (block_args.has_key("use_mpm_sysref")) { - send_sysref = [rpcc](){ rpcc->call("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("db_0_init_adcs_and_deframers"); - rpcc->call_with_token("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("db_0_check_deframer_status"); - rpcc->call_with_token("db_1_check_deframer_status"); + rpcc->notify_with_token("db_0_check_deframer_status"); + rpcc->notify_with_token("db_1_check_deframer_status"); } /**************************************************************************** -- cgit v1.2.3