diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-02 15:04:54 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:58 -0800 |
commit | d68c7dfa5adafbcbcdc913fc7778336958eb35c9 (patch) | |
tree | 9eda503326043181279821e75cf58774e1a9999f /host/lib/usrp | |
parent | 664f471baf4478b664566a13e81e847dac8a2041 (diff) | |
download | uhd-d68c7dfa5adafbcbcdc913fc7778336958eb35c9.tar.gz uhd-d68c7dfa5adafbcbcdc913fc7778336958eb35c9.tar.bz2 uhd-d68c7dfa5adafbcbcdc913fc7778336958eb35c9.zip |
eiscat: Made more functions return status values instead of None/void
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp | 8 |
1 files changed, 4 insertions, 4 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 1be41dd84..5a7a5907f 100644 --- a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp @@ -408,12 +408,12 @@ void eiscat_radio_ctrl_impl::set_rpc_client( "Finalizing dboard initialization using internal PPS" ); send_sysref(); - rpcc->notify_with_token("db_0_init_adcs_and_deframers"); - rpcc->notify_with_token("db_1_init_adcs_and_deframers"); + rpcc->request_with_token<bool>("db_0_init_adcs_and_deframers"); + rpcc->request_with_token<bool>("db_1_init_adcs_and_deframers"); send_sysref(); std::this_thread::sleep_for(std::chrono::milliseconds(500)); - rpcc->notify_with_token("db_0_check_deframer_status"); - rpcc->notify_with_token("db_1_check_deframer_status"); + rpcc->request_with_token<bool>("db_0_check_deframer_status"); + rpcc->request_with_token<bool>("db_1_check_deframer_status"); } /**************************************************************************** |